mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 11:26: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,
|
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…
Add table
Add a link
Reference in a new issue