aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 4330a7e..eea33d2 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -278,7 +278,7 @@ function bzPage.prototype.parseURL(url) {
var ret = {},
seg = a.search.replace(/^\?/,'').split('&'),
len = seg.length, i = 0, s;
- for (;i<len;i++) {
+ for (var i=0;i<len;i++) {
if (!seg[i]) { continue; }
s = seg[i].split('=');
ret[s[0]] = s[1];
@@ -1352,12 +1352,8 @@ function bzPage.prototype.buildButtons(above,below) {
// https://wiki.mozilla.org/Labs/Jetpack/JEP/17 -- page mods
var callback = function(doc) {
- jetpack.statusBar.append({
- onReady: function(widget) {
- console.log("Boom!");
- curPage = new bzPage(doc);
- },
- });
+ console.log("BOOOM!");
+ var curPage = new bzPage(doc);
};
var options = {};
options.matches = [