allow different syntax
parent
dade9520a4
commit
30ea6bd7ab
|
@ -23,9 +23,12 @@ exports.ensure = function (cb) {
|
||||||
name: name,
|
name: name,
|
||||||
location: packages[name].realPath
|
location: packages[name].realPath
|
||||||
}
|
}
|
||||||
})
|
}),
|
||||||
|
// nodeRequire gives us the ability to access node.js native
|
||||||
|
// require syntax from within requirejs, to do this use the syntax
|
||||||
|
// var fs = requirejs.nodeRequire("fs");
|
||||||
|
nodeRequire: require
|
||||||
});
|
});
|
||||||
|
|
||||||
exports.update(cb);
|
exports.update(cb);
|
||||||
});
|
});
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue