1 module.exports = function( grunt ) {
5 // Run this task to run jsdom-related tests on Node.js < 1.0.0.
6 grunt.registerTask( "old_jsdom", function() {
7 if ( !/^v0/.test( process.version ) ) {
8 console.warn( "The old_jsdom task doesn\'t need to be run in io.js or new Node.js" );
12 // Use npm on the command-line
13 // There is no local npm
16 args: [ "install", "jsdom@3" ],
17 opts: { stdio: "inherit" }