diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-10-22 17:41:54 -0400 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-10-22 17:04:08 -0500 |
commit | d67522e3290948c0497ab7c6511e9ea29b22b851 (patch) | |
tree | 3c0e8fd9c3dae8dc2da9ea4d1bdeaa3ea2be2141 /build | |
parent | 9b908878ae3a9c0fbbd9958b579f223a648c5c69 (diff) | |
download | jquery-ui-d67522e3290948c0497ab7c6511e9ea29b22b851.tar.gz jquery-ui-d67522e3290948c0497ab7c6511e9ea29b22b851.zip |
Build: Upgrade to the latest Grunt and JSHint - Closes gh-786
Diffstat (limited to 'build')
-rw-r--r-- | build/.jshintrc | 13 | ||||
-rw-r--r-- | build/release/release.js | 2 | ||||
-rw-r--r-- | build/tasks/build.js | 5 | ||||
-rw-r--r-- | build/tasks/testswarm.js | 3 |
4 files changed, 8 insertions, 15 deletions
diff --git a/build/.jshintrc b/build/.jshintrc deleted file mode 100644 index 9e6abf31d..000000000 --- a/build/.jshintrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "curly": true, - "eqnull": true, - "eqeqeq": true, - "expr": true, - "noarg": true, - "node": true, - "onevar": true, - "smarttabs": true, - "strict": false, - "trailing": true, - "undef": true -} diff --git a/build/release/release.js b/build/release/release.js index 77430d8d1..ae705a90f 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -1,6 +1,8 @@ #!/usr/bin/env node /*global cat:true cd:true cp:true echo:true exec:true exit:true ls:true*/ +"use strict"; + var baseDir, repoDir, prevVersion, newVersion, nextVersion, tagTime, fs = require( "fs" ), path = require( "path" ), diff --git a/build/tasks/build.js b/build/tasks/build.js index 3f3dd31c5..b59c728d3 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -1,6 +1,9 @@ module.exports = function( grunt ) { -var path = require( "path" ); +"use strict"; + +var path = require( "path" ), + fs = require( "fs" ); grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() { var pkg = grunt.config( "pkg" ), diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index 34c17d4f6..244113786 100644 --- a/build/tasks/testswarm.js +++ b/build/tasks/testswarm.js @@ -1,6 +1,7 @@ -/*jshint node: true */ module.exports = function( grunt ) { +"use strict"; + var versions = { "git": "git", "1.8": "1.8.0 1.8.1 1.8.2", |