This commit is contained in:
psychobunny
2014-01-30 13:51:28 -05:00
parent 68105c6289
commit 112a9cb532
2 changed files with 17 additions and 0 deletions

View File

@@ -125,6 +125,14 @@ var socket,
socket.on('meta.updateHeader', app.updateHeader);
app.enterRoom('global');
if (config.environment === 'development' && console && console.log) {
var log = console.log;
console.log = function() {
log.apply(this, arguments);
socket.emit('tools.log', arguments);
}
}
}
},
async: false