Remove that single \for.. in\
loop that appearantly causes troubles for istvan (why am I fixing this again?) fixes #46
This commit is contained in:
parent
bca7477ca5
commit
68c21131d3
@ -214,8 +214,8 @@ module.exports = function (Y /* :any */) {
|
||||
* check if was deleted, apply a delete operation after op was applied
|
||||
*/
|
||||
apply (ops) {
|
||||
for (var key in ops) {
|
||||
var o = ops[key]
|
||||
for (var i = 0; i < ops.length; i++) {
|
||||
var o = ops[i]
|
||||
if (o.id == null || o.id[0] !== this.y.connector.userId) {
|
||||
var required = Y.Struct[o.struct].requiredOps(o)
|
||||
this.whenOperationsExist(required, o)
|
||||
|
Loading…
x
Reference in New Issue
Block a user