better debugging, pretty print (no undefined) in logtable

This commit is contained in:
Kevin Jahns
2016-04-19 16:34:14 +02:00
parent 153ec811e2
commit 82025c5de9
3 changed files with 21 additions and 10 deletions

View File

@@ -195,7 +195,7 @@ module.exports = function (Y/* :any */) {
// reconnect left and set right of op
if (op.left != null) {
left = yield* this.getInsertion(op.left)
// TODO: remove false
// TODO: remove false!!
if (false && op.content != null && left.content != null && left.id[0] === op.id[0] && left.id[1] + left.content.length === op.id[1] && left.originOf == null && left.deleted !== true && left.gc !== true) {
// extend left
left.content = left.content.concat(op.content)