Comparing version 1.5.3 to 1.5.4
@@ -6,3 +6,3 @@ { | ||
"author": "rackai", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"repository": "https://github.com/rackai/domql", | ||
@@ -9,0 +9,0 @@ "publishConfig": { |
@@ -136,2 +136,6 @@ 'use strict' | ||
// assign context | ||
if (options.context && !root.context) root.context = options.context | ||
element.context = root.context | ||
// generate a CLASS name | ||
@@ -138,0 +142,0 @@ assignClass(element) |
@@ -57,3 +57,4 @@ 'use strict' | ||
on: {}, | ||
component: {} | ||
component: {}, | ||
context: {} | ||
} |
@@ -15,3 +15,2 @@ 'use strict' | ||
if (element.__cached && element.__cached.content) { | ||
console.log(element.__cached.content) | ||
if (element.__cached.content.tag === 'fragment') element.__cached.content.parent.node.innerHTML = '' | ||
@@ -18,0 +17,0 @@ else if (element.__cached.content) element.__cached.content?.remove() |
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
55053
1667