jshint compliance

This commit is contained in:
Caleb James DeLisle
2017-08-23 11:04:44 +02:00
parent 2ad9fcee17
commit acfaaa7d56
10 changed files with 19 additions and 27 deletions

View File

@@ -41,7 +41,7 @@ define([], function () {
messageFromInner(message, cb);
});
var onReady = function (wc) {
var onReady = function () {
// Trigger onReady only if not ready yet. This is important because the history keeper sends a direct
// message through "network" when it is synced, and it triggers onReady for each channel joined.
if (!initializing) { return; }
@@ -215,7 +215,7 @@ define([], function () {
sframeChan.event('EV_RT_DISCONNECT');
});
network.on('reconnect', function (uid) {
network.on('reconnect', function () {
initializing = true;
connectTo(network, false);
});