hyperclayjs 1.20.2 → 1.20.3
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
|
@@ -13,8 +13,8 @@ function init() {
|
|
|
13
13
|
const clonedNode = originalCloneNode.call(this, deep);
|
|
14
14
|
|
|
15
15
|
if (clonedNode.nodeType === Node.ELEMENT_NODE) {
|
|
16
|
-
// Process only the top-level cloned element
|
|
17
16
|
processOnclone(clonedNode);
|
|
17
|
+
clonedNode.querySelectorAll('[onclone]').forEach(processOnclone);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
return clonedNode;
|
package/src/hyperclay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DO NOT EDIT THIS FILE DIRECTLY — it is generated from build/hyperclay.template.js
|
|
3
3
|
*
|
|
4
|
-
* HyperclayJS v1.20.
|
|
4
|
+
* HyperclayJS v1.20.3 - Minimal Browser-Native Loader
|
|
5
5
|
*
|
|
6
6
|
* Modules auto-init when imported (no separate init call needed).
|
|
7
7
|
* Include `export-to-window` feature to export to window.hyperclay.
|