diff --git a/lib/namespace.js b/lib/namespace.js index b5b26ff41e..688593840a 100644 --- a/lib/namespace.js +++ b/lib/namespace.js @@ -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 */ @@ -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 */ @@ -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 */ @@ -139,7 +139,7 @@ SocketNamespace.prototype.setFlags = function () { }; /** - * Sends out a packet + * Sends out a packet. * * @api private */ @@ -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) { @@ -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) { @@ -208,7 +208,7 @@ SocketNamespace.prototype.socket = function (sid, readable) { }; /** - * Sets authorization for this namespace + * Sets authorization for this namespace. * * @api public */