added textbind example, improved & fixed syncing, RBTree handles ids correctly now, webrtc connector is quite reliable now

This commit is contained in:
Kevin Jahns
2015-07-16 06:15:23 +02:00
parent f9f8228db6
commit f78dc52d7b
14 changed files with 473 additions and 66 deletions

View File

@@ -2,8 +2,10 @@
function Y (opts) {
var def = Promise.defer();
new YConfig(opts, function(config){ //eslint-disable-line
def.resolve(config);
new YConfig(opts, function(yconfig){ //eslint-disable-line
yconfig.db.whenUserIdSet(function(){
def.resolve(yconfig);
});
});
return def.promise;
}
@@ -37,7 +39,3 @@ class YConfig { //eslint-disable-line no-unused-vars
};
}
}
Y.AbstractTransaction = AbstractTransaction;
Y.AbstractOperationStore = AbstractOperationStore;
Y.Struct = Struct;