node-inspector

This commit is contained in:
Kevin Jahns
2015-09-10 19:41:07 +02:00
parent b9e21665e2
commit 4bfe484fc2
18 changed files with 309 additions and 217 deletions

View File

@@ -1,4 +1,5 @@
/* global getRandom, AbstractConnector, Y, wait */
'use strict'
var globalRoom = {
users: {},
@@ -66,11 +67,11 @@ class Test extends AbstractConnector {
}
reconnect () {
globalRoom.addUser(this)
super()
super.reconnect()
}
disconnect () {
globalRoom.removeUser(this.userId)
super()
super.disconnect()
}
flush () {
var buff = globalRoom.buffers[this.userId]