Permalink
Browse files

Restructure the directories

  • Loading branch information...
1 parent f936e09 commit c93273ba4869317e99b914cbf749be339241ac04 @sarenji sarenji committed Aug 2, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 { → example}/server.js
  2. +1 −0 index.js
  3. 0 { → lib}/webrtc.io.js
  4. +1 −1 package.json
View
2 server.js → example/server.js
@@ -1,4 +1,4 @@
-var io = require('./webrtc.io').listen(8001);
+var io = require('../lib/webrtc.io').listen(8001);
var colors = {};
io.sockets.on('connection', function(socket) {
View
1 index.js
@@ -0,0 +1 @@
+module.exports = require('./lib/webrtc.io');
View
0 webrtc.io.js → lib/webrtc.io.js
File renamed without changes.
View
2 package.json
@@ -2,7 +2,7 @@
"name": "webrtc.io",
"version": "0.0.0",
"description": "Abstraction for webRTC.",
- "main": "webrtc.io.js",
+ "main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/cavedweller/webRTC.io.git"

0 comments on commit c93273b

Please sign in to comment.