]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Gruntfile.js: use the same targets as JSHint for JSCS to avoid duplication.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Fri, 28 Feb 2014 12:24:35 +0000 (14:24 +0200)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Fri, 28 Feb 2014 15:30:08 +0000 (17:30 +0200)
Gruntfile.js

index fbb6a1a86968f0be6e84a39eec135cb0c3aaeeea..05ec1f4420799b0541cf10d22f98c280ba8c3a21 100644 (file)
@@ -68,16 +68,16 @@ module.exports = function (grunt) {
         options: {
           'requireParenthesesAroundIIFE': true
         },
-        src: ['Gruntfile.js', 'grunt/*.js']
+        src: '<%= jshint.grunt.src %>'
       },
       src: {
-        src: 'js/*.js'
+        src: '<%= jshint.src.src %>'
       },
       test: {
-        src: 'js/tests/unit/*.js'
+        src: '<%= jshint.test.src %>'
       },
       assets: {
-        src: ['docs/assets/js/application.js', 'docs/assets/js/customizer.js']
+        src: '<%= jshint.assets.src %>'
       }
     },