bobe 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bobe.cjs +10 -5
- package/dist/bobe.cjs.map +1 -1
- package/dist/bobe.compiler.cjs +10 -5
- package/dist/bobe.compiler.cjs.map +1 -1
- package/dist/bobe.compiler.esm.js +10 -5
- package/dist/bobe.compiler.esm.js.map +1 -1
- package/dist/bobe.esm.js +10 -5
- package/dist/bobe.esm.js.map +1 -1
- package/dist/index.umd.js +10 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -339,9 +339,7 @@
|
|
|
339
339
|
return this.token;
|
|
340
340
|
} catch (error) {
|
|
341
341
|
throw error;
|
|
342
|
-
} finally {
|
|
343
|
-
this.handledTokens.push(this.token);
|
|
344
|
-
}
|
|
342
|
+
} finally {}
|
|
345
343
|
}
|
|
346
344
|
locStart() {
|
|
347
345
|
}
|
|
@@ -377,7 +375,6 @@
|
|
|
377
375
|
}
|
|
378
376
|
const trimmed = value.replace(/\/\/[\s\S]+/, '').trim();
|
|
379
377
|
this.setToken(TokenType.Identifier, trimmed ? trimmed : true, 0);
|
|
380
|
-
this.handledTokens.push(this.token);
|
|
381
378
|
this.locEnd();
|
|
382
379
|
return this.token;
|
|
383
380
|
}
|
|
@@ -398,7 +395,6 @@
|
|
|
398
395
|
char = this.code[this.i];
|
|
399
396
|
}
|
|
400
397
|
this.setToken(TokenType.Identifier, value, 0);
|
|
401
|
-
this.handledTokens.push(this.token);
|
|
402
398
|
this.locEnd();
|
|
403
399
|
return this.token;
|
|
404
400
|
}
|
|
@@ -2339,10 +2335,19 @@
|
|
|
2339
2335
|
}
|
|
2340
2336
|
removeForItem(children, i) {
|
|
2341
2337
|
const child = children[i];
|
|
2338
|
+
const after = child.realAfter;
|
|
2342
2339
|
this.removeLogicNode(child);
|
|
2343
2340
|
this.remove(child.realBefore);
|
|
2344
2341
|
this.remove(child.realAfter);
|
|
2345
2342
|
child.effect.dispose();
|
|
2343
|
+
child.effect = undefined;
|
|
2344
|
+
child.data = undefined;
|
|
2345
|
+
child.context = undefined;
|
|
2346
|
+
after[FakeNode] = undefined;
|
|
2347
|
+
child.forNode = undefined;
|
|
2348
|
+
child.realParent = undefined;
|
|
2349
|
+
child.realAfter = undefined;
|
|
2350
|
+
child.realBefore = undefined;
|
|
2346
2351
|
}
|
|
2347
2352
|
reuseForItem(child, data, itemExp, i, indexName, indexValue) {
|
|
2348
2353
|
if (typeof itemExp === 'string') {
|