JS code style fixes

This commit is contained in:
DamianEdwards 2016-10-05 14:50:50 -07:00
parent c641a43f38
commit d0196914ff
2 changed files with 8 additions and 8 deletions

View File

@ -46,10 +46,10 @@
xhr.send(null);
}
this.onopen = function () { };
this.onmessage = function () { };
this.onerror = function (event) { };
this.send = function (data) {
sock.onopen = function () { };
sock.onmessage = function () { };
sock.onerror = function (event) { };
sock.send = function (data) {
if (!sock.connectionId) {
throw "Not connected";
}

View File

@ -34,10 +34,10 @@
});
}
this.onopen = function () { };
this.onmessage = function () { };
this.onerror = function (event) { };
this.send = function (data) {
sock.onopen = function () { };
sock.onmessage = function () { };
sock.onerror = function (event) { };
sock.send = function (data) {
if (!sock.connectionId) {
throw "Not connected";
}