@optionfactory/ful 0.100.0 → 0.102.0

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/dist/ful.iife.js CHANGED
@@ -1052,7 +1052,7 @@ var ful = (function (exports) {
1052
1052
  static fromHtml(...html) {
1053
1053
  const el = document.createElement("template");
1054
1054
  el.innerHTML = html.join("");
1055
- return el.content;
1055
+ return document.adoptNode(el.content);
1056
1056
  }
1057
1057
  /**
1058
1058
  *
@@ -1183,7 +1183,7 @@ var ful = (function (exports) {
1183
1183
 
1184
1184
  class Nodes {
1185
1185
  static isParsed(el) {
1186
- for (var c = el; c; c = c.parentNode) {
1186
+ for (let c = el; c; c = c.parentNode) {
1187
1187
  if (c.nextSibling) {
1188
1188
  return true;
1189
1189
  }
@@ -1198,7 +1198,7 @@ var ful = (function (exports) {
1198
1198
  }
1199
1199
  return null;
1200
1200
  }
1201
- queryChildrenAll(node, selector) {
1201
+ static queryChildrenAll(node, selector) {
1202
1202
  const r = [];
1203
1203
  for (const c of node.children) {
1204
1204
  if (c.matches(selector)) {