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; |