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

Side by Side Diff: background.js

Issue 29321336: Issue 2381 - Added share overlay to options page (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « README.md ('k') | common.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 } 30 }
31 } 31 }
32 } 32 }
33 33
34 var params = { 34 var params = {
35 blockedURLs: "", 35 blockedURLs: "",
36 seenDataCorruption: false, 36 seenDataCorruption: false,
37 filterlistsReinitialized: false, 37 filterlistsReinitialized: false,
38 addSubscription: false, 38 addSubscription: false,
39 filterError: false 39 filterError: false
40 }; 40 };
41 updateFromURL(params); 41 updateFromURL(params);
42 42
43 var modules = {}; 43 var modules = {};
44 global.require = function(module) 44 global.require = function(module)
45 { 45 {
46 return modules[module]; 46 return modules[module];
47 }; 47 };
48 48
49 modules.utils = { 49 modules.utils = {
50 Utils: { 50 Utils: {
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 type: "message", 292 type: "message",
293 payload: { 293 payload: {
294 title: "Custom subscription", 294 title: "Custom subscription",
295 url: "http://example.com/custom.txt", 295 url: "http://example.com/custom.txt",
296 type: "add-subscription" 296 type: "add-subscription"
297 } 297 }
298 }, "*"); 298 }, "*");
299 }, 1000); 299 }, 1000);
300 } 300 }
301 })(this); 301 })(this);
OLDNEW
« no previous file with comments | « README.md ('k') | common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld