lint compliance

pull/1/head
yflory 7 years ago
parent 89cc583f53
commit 362104ec09

@ -187,10 +187,8 @@ define([], function () {
expire: expire, expire: expire,
password: password password: password
}; };
var msg = ['GET_HISTORY', wc.id]; var msg = ['GET_HISTORY', wc.id, cfg];
// Add the validateKey if we are the channel creator and we have a validateKey // Add the validateKey if we are the channel creator and we have a validateKey
msg.push(validateKey);
msg.push(lastKnownHash);
if (hk) { network.sendto(hk, JSON.stringify(msg)); } if (hk) { network.sendto(hk, JSON.stringify(msg)); }
} else { } else {
onRdy(); onRdy();

@ -634,7 +634,7 @@ define([
cb(); cb();
}, rtConfig); }, rtConfig);
return; return;
}; }
// Start realtime outside the iframe and callback // Start realtime outside the iframe and callback
console.log(data); console.log(data);
startRealtime(rtConfig); startRealtime(rtConfig);

Loading…
Cancel
Save