]> source.dussan.org Git - jquery-ui.git/commitdiff
Build/grunt: Use grunt.loadNpmTasks, now that its actually working
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 29 Mar 2012 10:48:21 +0000 (12:48 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 29 Mar 2012 10:48:21 +0000 (12:48 +0200)
grunt.js

index 223225a8d528b9c8655eeec6e0d8a6323cb29378..ee1e8397f6b023bbe54ec697f913d64a0877c0bb 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -23,7 +23,7 @@ function createBanner( files ) {
 
 // a working grunt.loadNpmTasks replacement
 // gets us csslint and cssmin tasks
-require('grunt-css')(grunt);
+grunt.loadNpmTasks('grunt-css');
 
 // allow access from banner template
 global.stripDirectory = stripDirectory;