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

Unified Diff: background.js

Issue 8892049: adblockplusopera: Fix error occuring when updating from AdBlock for Chrome (Closed)
Patch Set: Created Nov. 21, 2012, 9:52 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -15,7 +15,9 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-require("matcher").init();
+var matcher = require("matcher");
+matcher.init();
+
with(require("filterClasses"))
{
this.Filter = Filter;
@@ -29,7 +31,7 @@
var FilterNotifier = require("filterNotifier").FilterNotifier;
var FilterStorage = require("filterStorage").FilterStorage;
var ElemHide = require("elemHide").ElemHide;
-var defaultMatcher = require("matcher").defaultMatcher;
+var defaultMatcher = matcher.defaultMatcher;
var Synchronizer = require("synchronizer").Synchronizer;
var isFirstRun = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld