Skip to content

Commit

Permalink
fixes socketio#538
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Oct 10, 2011
1 parent 59e4c3b commit b3740e9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/namespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function SocketNamespace (mgr, name) {
SocketNamespace.prototype.__proto__ = EventEmitter.prototype;

/**
* Copies emit since we override it
* Copies emit since we override it.
*
* @api private
*/
Expand Down Expand Up @@ -103,7 +103,7 @@ SocketNamespace.prototype.__defineGetter__('volatile', function () {
});

/**
* Overrides the room to relay messages to (flag)
* Overrides the room to relay messages to (flag).
*
* @api public
*/
Expand All @@ -114,7 +114,7 @@ SocketNamespace.prototype.in = SocketNamespace.prototype.to = function (room) {
};

/**
* Adds a session id we should prevent relaying messages to (flag)
* Adds a session id we should prevent relaying messages to (flag).
*
* @api public
*/
Expand All @@ -139,7 +139,7 @@ SocketNamespace.prototype.setFlags = function () {
};

/**
* Sends out a packet
* Sends out a packet.
*
* @api private
*/
Expand Down Expand Up @@ -175,9 +175,9 @@ SocketNamespace.prototype.send = function (data) {
};

/**
* Emits to everyone (override)
* Emits to everyone (override).
*
* @api private
* @api public
*/

SocketNamespace.prototype.emit = function (name) {
Expand All @@ -196,7 +196,7 @@ SocketNamespace.prototype.emit = function (name) {
* Retrieves or creates a write-only socket for a client, unless specified.
*
* @param {Boolean} whether the socket will be readable when initialized
* @api private
* @api public
*/

SocketNamespace.prototype.socket = function (sid, readable) {
Expand All @@ -208,7 +208,7 @@ SocketNamespace.prototype.socket = function (sid, readable) {
};

/**
* Sets authorization for this namespace
* Sets authorization for this namespace.
*
* @api public
*/
Expand Down

0 comments on commit b3740e9

Please sign in to comment.