Skip to content

Commit

Permalink
Added other necessary io public properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jun 8, 2011
1 parent c004ec9 commit e05b9ce
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions lib/io.js
Expand Up @@ -71,9 +71,25 @@
*
* @api private
*/

io.util = require('./util').util;

/**
* Expose JSON.
*
* @api private
*/

io.JSON = require('./json').JSON;

/**
* Expose parser.
*
* @api private
*/

io.parser = require('./parser').parser;

/**
* Expose EventEmitter
*
Expand Down Expand Up @@ -103,9 +119,17 @@
*
* @api public
*/

io.Socket = require('./socket').Socket;

/**
* Location of `dist/` directory.
*
* @api private
*/

io.dist = __dirname + '/../dist';

}
// end node

Expand Down

0 comments on commit e05b9ce

Please sign in to comment.