Comparing version 1.5.10 to 1.5.11
@@ -6,3 +6,3 @@ { | ||
"author": "rackai", | ||
"version": "1.5.10", | ||
"version": "1.5.11", | ||
"repository": "https://github.com/rackai/domql", | ||
@@ -9,0 +9,0 @@ "publishConfig": { |
@@ -41,3 +41,3 @@ 'use strict' | ||
element = { | ||
component: assignedKey, | ||
extend: assignedKey, | ||
props: element | ||
@@ -133,2 +133,5 @@ } | ||
// enable CHANGES storing | ||
if (!element.__children) element.__children = [] | ||
// Add _root element property | ||
@@ -167,2 +170,4 @@ const hasRoot = parent.parent && parent.parent.key === ':root' | ||
if (parent.__children) parent.__children.push(element.key) | ||
return element | ||
@@ -169,0 +174,0 @@ } |
@@ -14,3 +14,4 @@ 'use strict' | ||
while (parent.key !== key) { | ||
while (parent.key !== key){ | ||
if (parent[key]) return parent[key] | ||
parent = parent.parent | ||
@@ -17,0 +18,0 @@ if (!parent) return |
@@ -41,2 +41,3 @@ 'use strict' | ||
__ifFragment: {}, | ||
__children: {}, | ||
__ifFalsy: {}, | ||
@@ -43,0 +44,0 @@ __text: {}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56009
1692