ready to publish (lint)
This commit is contained in:
parent
330434ee24
commit
d22fbca6cc
@ -536,11 +536,6 @@ module.exports = function (Y /* :any */) {
|
|||||||
var op = Y.Struct[structname].create(id)
|
var op = Y.Struct[structname].create(id)
|
||||||
op.type = typedefinition[0].name
|
op.type = typedefinition[0].name
|
||||||
|
|
||||||
/* TODO: implement for y-xml support
|
|
||||||
if (typedefinition[0].appendAdditionalInfo != null) {
|
|
||||||
yield* typedefinition[0].appendAdditionalInfo.call(this, op, typedefinition[1])
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
this.requestTransaction(function * () {
|
this.requestTransaction(function * () {
|
||||||
if (op.id[0] === '_') {
|
if (op.id[0] === '_') {
|
||||||
yield* this.setOperation(op)
|
yield* this.setOperation(op)
|
||||||
|
@ -295,7 +295,7 @@ module.exports = function (Y /* : any*/) {
|
|||||||
var _o = yield* transaction.getInsertion(o.id)
|
var _o = yield* transaction.getInsertion(o.id)
|
||||||
if (_o.parentSub != null && _o.left != null) {
|
if (_o.parentSub != null && _o.left != null) {
|
||||||
// if o is an insertion of a map struc (parentSub is defined), then it shouldn't be necessary to compute left
|
// if o is an insertion of a map struc (parentSub is defined), then it shouldn't be necessary to compute left
|
||||||
this.waiting.splice(i,1)
|
this.waiting.splice(i, 1)
|
||||||
i-- // update index
|
i-- // update index
|
||||||
} else if (!Y.utils.compareIds(_o.id, o.id)) {
|
} else if (!Y.utils.compareIds(_o.id, o.id)) {
|
||||||
// o got extended
|
// o got extended
|
||||||
|
Loading…
x
Reference in New Issue
Block a user