Skip to content

Commit

Permalink
path correction
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernT committed Feb 18, 2025
1 parent c8522fb commit 5d30ac4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/binding/TemplateBinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ export class TemplateBinding extends Binding {
const container = node.nodeType === Node.ATTRIBUTE_NODE ? node.ownerElement : node.parentNode;
// Assume we have a function to get the container's canonical XPath.
const containerPath = container ? XPathUtil.getCanonicalXPath(container) : "$default";
const compositeKey = `${containerPath}:template:${expression}`;
super(compositeKey, "template");
// const compositeKey = `${containerPath}:template:${expression}`;

super(`${containerPath}:template`, "template");

this.node = node;
this.expression = expression;
Expand Down

0 comments on commit 5d30ac4

Please sign in to comment.