Skip to:
Content

BuddyPress.org

Ticket #5627: 5627.diff

File 5627.diff, 995 bytes (added by netweb, 13 years ago)
  • Gruntfile.js

     
    3434                '!bp-themes/bp-default/_inc/*.js'
    3535        ];
    3636
    37         require( 'matchdep' ).filterDev( 'grunt-*' ).forEach( grunt.loadNpmTasks );
     37        // Load tasks.
     38        require( 'matchdep' ).filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks );
     39        // Load legacy utils.
     40        grunt.util = require( 'grunt-legacy-util' );
    3841
    39 
     42        // Project configuration.
    4043        grunt.initConfig( {
    4144                jshint: {
    4245                        options: grunt.file.readJSON( '.jshintrc' ),
  • package.json

     
    1717                "grunt-cssjanus": "~0.2.2",
    1818                "grunt-contrib-less": "~0.11.0",
    1919                "grunt-exec": "~0.4.5",
     20    "grunt-legacy-util": "^0.2.0",
    2021                "grunt-patch-wordpress": "~0.2.1",
    2122                "grunt-phpunit": "~0.3.3",
    2223                "grunt-wp-i18n": "~0.4.3",