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

Side by Side Diff: lib/init.js

Issue 10420020: Made sure FilterEngine instances are always initialized (Closed)
Patch Set: Using a generic messaging mechanism Created May 23, 2013, 6:35 a.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 | « include/AdblockPlus/tr1_functional.h ('k') | src/FilterEngine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 _abpInitialized = false;
2 require("filterNotifier").FilterNotifier.addListener(function(action) 1 require("filterNotifier").FilterNotifier.addListener(function(action)
3 { 2 {
4 if (action === "load") 3 if (action === "load")
5 { 4 _triggerEvent("init");
6 _abpInitialized = true;
7 }
8 }); 5 });
OLDNEW
« no previous file with comments | « include/AdblockPlus/tr1_functional.h ('k') | src/FilterEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld