Build/grunt: Use grunt.loadNpmTasks, now that its actually working

This commit is contained in:
Jörn Zaefferer 2012-03-29 12:48:21 +02:00
parent 08aaa225ce
commit 3e7504156a

View File

@ -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;