mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 11:26:16 -04:00
Cleanup
This commit is contained in:
parent
b86aa5d858
commit
9729af63e8
2 changed files with 3 additions and 8 deletions
|
@ -19,17 +19,13 @@ exports.hooks = {};
|
|||
exports.ensure = function (cb) {
|
||||
if (!exports.loaded)
|
||||
exports.getPackages(function (er, packages) {
|
||||
pkg = Object.keys(packages).map(function (name) {
|
||||
requirejs.config({
|
||||
packages: Object.keys(packages).map(function (name) {
|
||||
return {
|
||||
name: name,
|
||||
location: packages[name].realPath
|
||||
}
|
||||
})
|
||||
;
|
||||
|
||||
console.log(["AAAAAAAAA", pkg]);
|
||||
requirejs.config({
|
||||
packages: pkg
|
||||
});
|
||||
|
||||
exports.update(cb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue