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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vsn",
3
- "version": "0.1.105",
3
+ "version": "0.1.106",
4
4
  "description": "SEO Friendly Javascript/Typescript Framework",
5
5
  "keywords": [
6
6
  "framework",
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.parentTag = null;
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.105';
1
+ export const VERSION = '0.1.106';
2
2