Permalink
Browse files

Add deps as submodules.

  • Loading branch information...
1 parent 0b8f630 commit c0d28eb69a2c1dae746fc4c6d88b243a8a3317ec @creationix committed Aug 26, 2010
Showing with 15 additions and 1 deletion.
  1. +9 −0 .gitmodules
  2. +3 −1 app.js
  3. +1 −0 lib/connect
  4. +1 −0 lib/step
  5. +1 −0 lib/world-db
View
@@ -7,3 +7,12 @@
[submodule "public/websocket-js"]
path = public/websocket-js
url = http://github.com/gimite/web-socket-js.git
+[submodule "lib/step"]
+ path = lib/step
+ url = http://github.com/creationix/step.git
+[submodule "lib/world-db"]
+ path = lib/world-db
+ url = http://github.com/creationix/world-db.git
+[submodule "lib/connect"]
+ path = lib/connect
+ url = http://github.com/senchalabs/connect.git
View
4 app.js
@@ -1,6 +1,8 @@
+require.paths.push('./lib', './lib/connect/lib', './lib/world-db/lib', './lib/step/lib');
+
var Connect = require('connect'),
- io = require('./lib/socket.io'),
+ io = require('socket.io'),
worldDB = require('world-db'),
imageClasses = require('./public/tiles'),
imageClassesInv = {};
Submodule connect added at d3285f
Submodule step added at e4addc
Submodule world-db added at bac4c8

0 comments on commit c0d28eb

Please sign in to comment.