Fix jshint errors
@ -317,7 +317,7 @@ function($rootScope,
// password was OK. Store that result and check for it
// in the failure handler.
$rootScope.waseverconnected = true;
}
};
var onclose = function () {
@ -122,9 +122,9 @@ function($rootScope, $q) {
if ('onmessage' in properties) {
ws.onmessage = function(event) {
properties['onmessage'](event);
properties.onmessage(event);
onmessage(event);
} else {
ws.onmessage = onmessage;