mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Avoid setting jshint node: true
in every Grunt JS file
This commit is contained in:
parent
4d7b2ddba9
commit
aead10fafa
@ -44,6 +44,9 @@ module.exports = function (grunt) {
|
||||
jshintrc: 'js/.jshintrc'
|
||||
},
|
||||
grunt: {
|
||||
options: {
|
||||
node: true
|
||||
},
|
||||
src: ['Gruntfile.js', 'grunt/*.js']
|
||||
},
|
||||
src: {
|
||||
|
@ -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' +
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* jshint node: true */
|
||||
/*!
|
||||
* Bootstrap Grunt task for Glyphicons data generation
|
||||
* http://getbootstrap.com
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* jshint node: true */
|
||||
/*!
|
||||
* Bootstrap Grunt task for parsing Less docstrings
|
||||
* http://getbootstrap.com
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* jshint node: true */
|
||||
/* global btoa: true */
|
||||
|
||||
/*!
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user