Skip to content

Commit

Permalink
close #5, close #4, #52
Browse files Browse the repository at this point in the history
  • Loading branch information
smart--petea committed Dec 18, 2014
1 parent 0b7823b commit c19890c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
function Socket() {
}
module.exports = require('./lib');
13 changes: 13 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var Manager = require('./manager');
var Socket = require('./socket');
var Emitter = require('./eventemitter');

module.exports = io;

function io(url, opts) {
opts = opts || {};
}

io.Manager = Manager;
io.Socket = Socket;
io.Emitter = Emitter;
3 changes: 3 additions & 0 deletions lib/manager.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = Manager;

function Manager(){}
3 changes: 3 additions & 0 deletions lib/socket.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = Socket;

function Socket(){}

0 comments on commit c19890c

Please sign in to comment.