]> source.dussan.org Git - jquery-ui.git/commitdiff
Build/grunt: Improve lint setup, get rid of file comment, using gruntjs specific...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 9 Mar 2012 16:59:57 +0000 (17:59 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 9 Mar 2012 16:59:57 +0000 (17:59 +0100)
grunt.js

index 50e9999934bfd398a76fca71d592aaaaddf0b44c..e4db51f65af24ef2c616371a94ea1f1101273fd0 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -1,4 +1,3 @@
-/*global config:true, task:true*/
 function stripBanner(files) {
   return files.map(function(file) {
     return '<strip_all_banners:' + file + '>';
@@ -238,6 +237,8 @@ config.init({
         node: true
       },
       globals: {
+        task: true,
+        config: true,
         file: true,
         log: true,
         template: true