@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
|
@@ -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:
|
|
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
|
|
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)) {
|