vsn 0.1.105 → 0.1.106
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/demo/vsn.js +2 -2
- package/dist/DOM.js +4 -7
- package/dist/DOM.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/vsn.min.js +2 -2
- package/package.json +1 -1
- package/src/DOM.ts +4 -6
- package/src/version.ts +1 -1
package/package.json
CHANGED
package/src/DOM.ts
CHANGED
|
@@ -362,18 +362,16 @@ export class DOM extends EventDispatcher {
|
|
|
362
362
|
public async resetBranch(e: Tag | HTMLElement) {
|
|
363
363
|
if (e instanceof Tag)
|
|
364
364
|
e = e.element;
|
|
365
|
+
|
|
365
366
|
const tag = e[Tag.TaggedVariable];
|
|
366
|
-
if (tag)
|
|
367
|
-
tag.
|
|
367
|
+
if (tag) {
|
|
368
|
+
tag.findParentTag();
|
|
369
|
+
}
|
|
368
370
|
|
|
369
371
|
const children = Array.from(e.children) as HTMLElement[]
|
|
370
372
|
for (const t of children) {
|
|
371
373
|
await this.resetBranch(t);
|
|
372
374
|
}
|
|
373
|
-
|
|
374
|
-
if (tag && tag.parentTag && tag.uniqueScope) {
|
|
375
|
-
tag.scope.parentScope = tag.parentTag.scope;
|
|
376
|
-
}
|
|
377
375
|
}
|
|
378
376
|
|
|
379
377
|
public static get instance(): DOM {
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.106';
|
|
2
2
|
|