Skip to content

fixes #538 #564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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