From dbba592dfa0838ad72aa024460767ccf4b764cd7 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Sun, 23 Dec 2012 23:18:14 -0300 Subject: [PATCH] namespace: implement own flags --- lib/namespace.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/namespace.js b/lib/namespace.js index 5a298e3f8c..831c023adf 100644 --- a/lib/namespace.js +++ b/lib/namespace.js @@ -5,6 +5,7 @@ var Socket = require('./socket') , Emitter = require('events').EventEmitter + , parser = require('socket.io-parser') , debug = require('debug')('socket.io:namespace'); /** @@ -24,10 +25,10 @@ exports.events = [ ]; /** - * `Socket` flags. + * Flags. */ -exports.flags = Socket.flags; +exports.flags = ['json']; /** * `EventEmitter#emit` reference.