aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-10-22 17:41:54 -0400
committerCorey Frang <gnarf@gnarf.net>2012-10-22 17:04:08 -0500
commitd67522e3290948c0497ab7c6511e9ea29b22b851 (patch)
tree3c0e8fd9c3dae8dc2da9ea4d1bdeaa3ea2be2141 /grunt.js
parent9b908878ae3a9c0fbbd9958b579f223a648c5c69 (diff)
downloadjquery-ui-d67522e3290948c0497ab7c6511e9ea29b22b851.tar.gz
jquery-ui-d67522e3290948c0497ab7c6511e9ea29b22b851.zip
Build: Upgrade to the latest Grunt and JSHint - Closes gh-786
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/grunt.js b/grunt.js
index 9e03c95fa..6e8655b40 100644
--- a/grunt.js
+++ b/grunt.js
@@ -1,6 +1,7 @@
-/*jshint node: true */
module.exports = function( grunt ) {
+"use strict";
+
var
// files
coreFiles = [
@@ -326,9 +327,7 @@ grunt.initConfig({
}
return {
- // TODO: use "faux strict mode" https://github.com/jshint/jshint/issues/504
- // TODO: limit `smarttabs` to multi-line comments https://github.com/jshint/jshint/issues/503
- options: parserc(),
+ grunt: parserc(),
ui: parserc( "ui/" ),
// TODO: `evil: true` is only for document.write() https://github.com/jshint/jshint/issues/519
// TODO: don't create so many globals in tests