aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-01 22:28:59 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-01 22:28:59 +0200
commit58677ab85f72d45c249b6fc291659953029ad1b4 (patch)
treea87e7f091b0fa4c3767c322b5ecb1159aea05125 /lib
parent7814b326943e3190b6d9ec0f7d77aaa17b6634a2 (diff)
downloadbugzilla-triage-58677ab85f72d45c249b6fc291659953029ad1b4.tar.gz
All I want to do in my life is to make jslint happy.
Diffstat (limited to 'lib')
-rw-r--r--lib/bzpage.js2
-rw-r--r--lib/main.js4
-rw-r--r--lib/rhbzpage.js1
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index 14dde0e..c88825d 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -1,4 +1,4 @@
-/*jslint onevar: false, browser: true, evil: true, laxbreak: true, undef: true, nomen: true, eqeqeq: true, bitwise: true, maxerr: 1000, immed: false, white: false, plusplus: false, regexp: false, undef: false */
+/*jslint forin: true, rhino: true, onevar: false, browser: true, evil: true, laxbreak: true, undef: true, nomen: true, eqeqeq: true, bitwise: true, maxerr: 1000, immed: false, white: false, plusplus: false, regexp: false, undef: false */
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
"use strict";
diff --git a/lib/main.js b/lib/main.js
index 71e4dee..2142798 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -1,4 +1,4 @@
-/*jslint onevar: false, browser: true, evil: true, laxbreak: true, undef: true, nomen: true, eqeqeq: true, bitwise: true, maxerr: 1000, immed: false, white: false, plusplus: false, regexp: false, undef: false */
+/*jslint rhino: true, forin: true, onevar: false, browser: true, evil: true, laxbreak: true, undef: true, nomen: true, eqeqeq: true, bitwise: true, maxerr: 1000, immed: false, white: false, plusplus: false, regexp: false, undef: false */
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
//
@@ -120,7 +120,7 @@ function initialize(callback) {
}
}).get();
}
- };
+ }
if (!myStorage.logs) {
console.log("myStorage.logs empty!");
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index c11f872..7e930a3 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -510,7 +510,6 @@ RHBugzillaPage.prototype.fillInChipMagic = function () {
XorgLogAttID = this.XorgLogAttList[this.XorgLogAttListIndex][1];
attURL = "https://bugzilla.redhat.com/attachment.cgi?id="+XorgLogAttID;
- var that = this;
// parse Xorg.0.log
Request({