Fix more cba issues and add debugging data
This commit is contained in:
@@ -65,10 +65,12 @@ define([
|
||||
sframeChan.query('Q_RT_MESSAGE', message, function (_err, obj) {
|
||||
var err = _err || (obj && obj.error);
|
||||
if (!err) { evPatchSent.fire(); }
|
||||
console.error('cb', JSON.stringify(message));
|
||||
cb(err);
|
||||
}, { timeout: -1 });
|
||||
});
|
||||
_chainpad.onPatch(function () {
|
||||
console.log('patch');
|
||||
onRemote({ realtime: chainpad });
|
||||
});
|
||||
return _chainpad;
|
||||
@@ -137,6 +139,7 @@ define([
|
||||
if (isReady) {
|
||||
onLocal(true); // should be onBeforeMessage
|
||||
}
|
||||
console.error('received', JSON.stringify(content));
|
||||
chainpad.message(content);
|
||||
if (isHistory && updateLoadingProgress) {
|
||||
updateLoadingProgress({
|
||||
|
||||
Reference in New Issue
Block a user