From dabb0b4410b1b90cc3dd5adfa8e9cf8c40197e76 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Wed, 4 Jul 2012 16:01:55 -0700 Subject: [PATCH] enable JSHint's "immed" test --- .jshintrc | 2 +- rhino_modules/jsdoc/augment.js | 2 +- templates/default/publish.js | 2 +- templates/haruki/publish.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.jshintrc b/.jshintrc index 737dd285..a0595ff4 100644 --- a/.jshintrc +++ b/.jshintrc @@ -3,7 +3,7 @@ "curly": true, "eqeqeq": false, "forin": true, - "immed": false, + "immed": true, "latedef": false, "newcap": false, "noarg": false, diff --git a/rhino_modules/jsdoc/augment.js b/rhino_modules/jsdoc/augment.js index 1923e8aa..0f6a6d3c 100644 --- a/rhino_modules/jsdoc/augment.js +++ b/rhino_modules/jsdoc/augment.js @@ -113,4 +113,4 @@ var doop = require("jsdoc/util/doop").doop; } -})(); +}()); diff --git a/templates/default/publish.js b/templates/default/publish.js index 2f5b2283..03e715a7 100644 --- a/templates/default/publish.js +++ b/templates/default/publish.js @@ -465,4 +465,4 @@ return ''+hash+''; } -})(); +}()); diff --git a/templates/haruki/publish.js b/templates/haruki/publish.js index 42d4ccc7..d283f60b 100644 --- a/templates/haruki/publish.js +++ b/templates/haruki/publish.js @@ -209,5 +209,5 @@ }); } -})(); +}());