From 58677ab85f72d45c249b6fc291659953029ad1b4 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 1 Jul 2010 22:28:59 +0200 Subject: All I want to do in my life is to make jslint happy. --- lib/bzpage.js | 2 +- lib/main.js | 4 ++-- lib/rhbzpage.js | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'lib') 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({ -- cgit