allow different syntax

i18n
John McLear 2015-04-12 11:40:57 +01:00
parent dade9520a4
commit 30ea6bd7ab
1 changed files with 5 additions and 2 deletions

View File

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