aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-06 10:31:49 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-09-06 12:40:08 +0200
commitde625b60fba3d9a9ff7bbf9126a9f0b89968cb6b (patch)
tree94de0865bfc494186159070b1ae3df5104a963d0 /lib/main.js
parent39f737632ec2765869583752a99028311ff36003 (diff)
downloadbugzilla-triage-de625b60fba3d9a9ff7bbf9126a9f0b89968cb6b.tar.gz
Cache the configuration JSON.
So it is available when the website is down and speeds up startup (I hope). Fixes #94.
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js2
1 files changed, 1 insertions, 1 deletions
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',