From: Jörn Zaefferer Date: Thu, 29 Mar 2012 10:48:21 +0000 (+0200) Subject: Build/grunt: Use grunt.loadNpmTasks, now that its actually working X-Git-Tag: 1.9.0m8~174 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3e7504156ac9e2fbef434e109306699ee87ddc9d;p=jquery-ui.git Build/grunt: Use grunt.loadNpmTasks, now that its actually working --- diff --git a/grunt.js b/grunt.js index 223225a8d..ee1e8397f 100644 --- 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;