mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Implement require
for most modules.
This commit is contained in:
parent
72d29b1c62
commit
7f98116a43
11 changed files with 55 additions and 0 deletions
|
@ -25,6 +25,8 @@ $(window).bind("load", function()
|
|||
getCollabClient.windowLoaded = true;
|
||||
});
|
||||
|
||||
var chat = require('/chat').chat;
|
||||
|
||||
// Dependency fill on init. This exists for `pad.socket` only.
|
||||
// TODO: bind directly to the socket.
|
||||
var pad = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue