Modules requires use relative paths.

This commit is contained in:
Chad Weider 2012-03-06 17:27:03 -08:00
parent 6fd73ecfda
commit 6af869cadd
23 changed files with 86 additions and 87 deletions

View file

@ -20,7 +20,7 @@
* limitations under the License.
*/
var chat = require('/chat').chat;
var chat = require('./chat').chat;
// Dependency fill on init. This exists for `pad.socket` only.
// TODO: bind directly to the socket.