Fix jshint errors
This commit is contained in:
parent
0f44465faa
commit
36049447cd
2 changed files with 3 additions and 3 deletions
|
@ -317,7 +317,7 @@ function($rootScope,
|
||||||
// password was OK. Store that result and check for it
|
// password was OK. Store that result and check for it
|
||||||
// in the failure handler.
|
// in the failure handler.
|
||||||
$rootScope.waseverconnected = true;
|
$rootScope.waseverconnected = true;
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
var onclose = function () {
|
var onclose = function () {
|
||||||
|
|
|
@ -122,9 +122,9 @@ function($rootScope, $q) {
|
||||||
|
|
||||||
if ('onmessage' in properties) {
|
if ('onmessage' in properties) {
|
||||||
ws.onmessage = function(event) {
|
ws.onmessage = function(event) {
|
||||||
properties['onmessage'](event);
|
properties.onmessage(event);
|
||||||
onmessage(event);
|
onmessage(event);
|
||||||
}
|
};
|
||||||
} else {
|
} else {
|
||||||
ws.onmessage = onmessage;
|
ws.onmessage = onmessage;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue