mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 10:56:16 -04:00
allow different syntax
This commit is contained in:
parent
dade9520a4
commit
30ea6bd7ab
1 changed files with 5 additions and 2 deletions
|
@ -23,9 +23,12 @@ exports.ensure = function (cb) {
|
|||
name: name,
|
||||
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);
|
||||
});
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue