From de625b60fba3d9a9ff7bbf9126a9f0b89968cb6b Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 6 Sep 2011 10:31:49 +0200 Subject: Cache the configuration JSON. So it is available when the website is down and speeds up startup (I hope). Fixes #94. --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/main.js') diff --git a/lib/main.js b/lib/main.js index 0beb947..b7875c3 100644 --- a/lib/main.js +++ b/lib/main.js @@ -117,7 +117,7 @@ var contentScriptLibraries = [ var mainPMRE = new RegExp("http[s]?:\\/\\/bug(zilla|s)\\.[^\\/]*?" + "\\/show_bug.cgi\\?id=.*"); -libbz.initialize(libbz.config, function() { +libbz.initialize(function() { pageMod.PageMod({ include : [ mainPMRE ], contentScriptWhen : 'ready', -- cgit