Skip to content

Commit

Permalink
namespace: implement own flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Dec 24, 2012
1 parent d411dec commit dbba592
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/namespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

var Socket = require('./socket')
, Emitter = require('events').EventEmitter
, parser = require('socket.io-parser')
, debug = require('debug')('socket.io:namespace');

/**
Expand All @@ -24,10 +25,10 @@ exports.events = [
];

/**
* `Socket` flags.
* Flags.
*/

exports.flags = Socket.flags;
exports.flags = ['json'];

/**
* `EventEmitter#emit` reference.
Expand Down

0 comments on commit dbba592

Please sign in to comment.