Fix jshint errors

This commit is contained in:
David Cormier 2014-02-14 09:32:30 -05:00
parent 0f44465faa
commit 36049447cd
2 changed files with 3 additions and 3 deletions

View file

@ -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 () {

View file

@ -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;
}