Implement require for most modules.

This commit is contained in:
Chad Weider 2012-01-15 20:16:11 -08:00
parent 72d29b1c62
commit 7f98116a43
11 changed files with 55 additions and 0 deletions

View file

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