diff --git a/Gruntfile.js b/Gruntfile.js index c4da304ddbefbfd9f6fec98264d13710e9bf57f2..ac3107fd4d051ed68c719920b4b190c33c5c2a70 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -44,6 +44,9 @@ module.exports = function (grunt) { jshintrc: 'js/.jshintrc' }, grunt: { + options: { + node: true + }, src: ['Gruntfile.js', 'grunt/*.js'] }, src: { diff --git a/docs/assets/js/customizer.js b/docs/assets/js/customizer.js index 405d8757236781298cb2edef0859177e0006b9a8..d165c4a028f9bfb1774c2bb5269904d49a262de6 100644 --- a/docs/assets/js/customizer.js +++ b/docs/assets/js/customizer.js @@ -6,7 +6,7 @@ * details, see http://creativecommons.org/licenses/by/3.0/. */ -/* jshint multistr:true */ +/* jshint multistr: true */ window.onload = function () { // wait for load in a dumb way because B-0 var cw = '/*!\n' + diff --git a/grunt/bs-glyphicons-data-generator.js b/grunt/bs-glyphicons-data-generator.js index 3e32698a1ab74770a194f9bc8c497e98d8020ad4..9e4317f6f98bf704edb1d83f6b6bb747a99c08bc 100644 --- a/grunt/bs-glyphicons-data-generator.js +++ b/grunt/bs-glyphicons-data-generator.js @@ -1,4 +1,3 @@ -/* jshint node: true */ /*! * Bootstrap Grunt task for Glyphicons data generation * http://getbootstrap.com diff --git a/grunt/bs-lessdoc-parser.js b/grunt/bs-lessdoc-parser.js index 9d0b2ffaf3abf2248d4084b8d12841bfe752f603..0433e61750e1c76503ddd2ee35a9fcbe851ea41c 100644 --- a/grunt/bs-lessdoc-parser.js +++ b/grunt/bs-lessdoc-parser.js @@ -1,4 +1,3 @@ -/* jshint node: true */ /*! * Bootstrap Grunt task for parsing Less docstrings * http://getbootstrap.com diff --git a/grunt/bs-raw-files-generator.js b/grunt/bs-raw-files-generator.js index 8f004ce3e370dd62ab312bf46b090fd47cf04b25..bc005a422e3dec7904ecae1a229919f3abe81a7b 100644 --- a/grunt/bs-raw-files-generator.js +++ b/grunt/bs-raw-files-generator.js @@ -1,4 +1,3 @@ -/* jshint node: true */ /* global btoa: true */ /*! diff --git a/grunt/shrinkwrap.js b/grunt/shrinkwrap.js index 7a0328d41fff0ce0c613e77a59620dbf87376cfe..f486bc69b7c174aeb9ab12070b4ab83db6408890 100644 --- a/grunt/shrinkwrap.js +++ b/grunt/shrinkwrap.js @@ -1,5 +1,3 @@ -/* jshint node: true */ - /* This Grunt task updates the npm-shrinkwrap.canonical.json file that's used as the key for Bootstrap's npm packages cache. This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.