remove a little bit of dead code

This commit is contained in:
ansuz
2016-04-22 09:46:06 +02:00
parent 2c6cf9883b
commit b140b6429d

View File

@@ -51,8 +51,6 @@ define([
// make sure configuration is defined // make sure configuration is defined
config = config || {}; config = config || {};
var doc = config.doc || null;
var allMessages = []; var allMessages = [];
var initializing = true; var initializing = true;
var recoverableErrorCount = 0; // unused var recoverableErrorCount = 0; // unused
@@ -107,8 +105,6 @@ define([
// we're fully synced // we're fully synced
initializing = false; initializing = false;
// execute an onReady callback if one was supplied
// FIXME this should be once the chain has synced
if (config.onReady) { if (config.onReady) {
config.onReady({ config.onReady({
realtime: realtime realtime: realtime