Delete the handler for the disconnect JSON event

Nothing in the server actually emits the `disconnect` event, so the
client does not need to handle it.
This commit is contained in:
Cathy J. Fitzpatrick
2013-05-20 06:33:48 -05:00
parent 512df0ca6b
commit 3937ff775f

View File

@@ -581,7 +581,6 @@
self.receive(message.message);
}
},
disconnect: function () {},
nameTaken: function (data) {
// Legacy -- but still how the server communicates that a
// name is taken, so we need to support it for now.