better widget hash (+ deps: shortid); re-registers widgets on reconnection

This commit is contained in:
jean-emmanuel 2017-04-09 23:09:00 +02:00
parent ab281dd534
commit 0f737bcedf
5 changed files with 22 additions and 4 deletions

View file

@ -47,7 +47,9 @@ var bindCallbacks = function(callbacks) {
})
socket.on('disconnect', function() {
callbacks.removeClientWidgets(socket.id)
})
})