@fluffjs/fluff 0.4.4 → 0.4.5

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": "@fluffjs/fluff",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
@@ -37,6 +37,6 @@ export declare abstract class MarkerController {
37
37
  protected setScopeOnChildren(node: Node, scope: Scope, renderContext?: RenderContext, markerManager?: MarkerManagerLike, bindingsSubscriptions?: Subscription[]): void;
38
38
  protected cloneAndInsertTemplate(template: HTMLTemplateElement, context: Record<string, unknown>, renderContext: RenderContext | undefined, bindingsSubscriptions: Subscription[]): void;
39
39
  private unwrapNamespaceWrapper;
40
- protected processBindingsOnNode(node: HTMLElement, scope: Scope, bindingsSubscriptions?: Subscription[]): void;
40
+ protected processBindingsOnNode(node: Element, scope: Scope, bindingsSubscriptions?: Subscription[]): void;
41
41
  }
42
42
  export {};
@@ -184,7 +184,7 @@ export class MarkerController {
184
184
  node.setAttribute('data-fluff-scope-id', scopeId);
185
185
  this.processBindingsOnNode(node, scope, bindingsSubscriptions);
186
186
  }
187
- else if (node instanceof HTMLElement && node.hasAttribute('data-lid')) {
187
+ else if (node instanceof Element && node.hasAttribute('data-lid')) {
188
188
  this.processBindingsOnNode(node, scope, bindingsSubscriptions);
189
189
  }
190
190
  for (const child of Array.from(node.childNodes)) {