Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: firstRun.js

Issue 29321336: Issue 2381 - Added share overlay to options page (Closed)
Left Patch Set: Rebased to 312559088567 Created July 16, 2015, 1:41 p.m.
Right Patch Set: Rebased to 4a68f2a456d6 and set strict mode in common.js Created Sept. 23, 2015, 1:54 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « firstRun.html ('k') | options.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 E("donate").href = link; 60 E("donate").href = link;
61 }); 61 });
62 62
63 getDocLink("contributors", function(link) 63 getDocLink("contributors", function(link)
64 { 64 {
65 E("contributors").href = link; 65 E("contributors").href = link;
66 }); 66 });
67 67
68 getDocLink("acceptable_ads_criteria", function(link) 68 getDocLink("acceptable_ads_criteria", function(link)
69 { 69 {
70 setLinks("acceptableAdsExplanation", link, openFilters); 70 setLinks("acceptable-ads-explanation", link, openFilters);
71 }); 71 });
72 72
73 getDocLink("contribute", function(link) 73 getDocLink("contribute", function(link)
74 { 74 {
75 setLinks("share-headline", link); 75 setLinks("share-headline", link);
76 }); 76 });
77 77
78 ext.backgroundPage.sendMessage({ 78 ext.backgroundPage.sendMessage({
79 type: "app.get", 79 type: "app.get",
80 what: "issues" 80 what: "issues"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 { 216 {
217 var button = E("toggle-" + feature); 217 var button = E("toggle-" + feature);
218 if (isEnabled) 218 if (isEnabled)
219 button.classList.remove("off"); 219 button.classList.remove("off");
220 else 220 else
221 button.classList.add("off"); 221 button.classList.add("off");
222 } 222 }
223 223
224 document.addEventListener("DOMContentLoaded", onDOMLoaded, false); 224 document.addEventListener("DOMContentLoaded", onDOMLoaded, false);
225 })(); 225 })();
LEFTRIGHT

Powered by Google App Engine
This is Rietveld