Skip to content

Commit 7389d12

Browse files
committed
fix: clean attribute name for method matching in processPlugin function
1 parent dd7881c commit 7389d12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function processPlugin(el) {
7979
const attrLower = attrName.toLowerCase();
8080

8181
const isDirectThis = attrName.startsWith('$this.');
82-
let cleanAttrName = attrLower;
82+
let cleanAttrName = attrLower.replace("()", ""); // Remove parentheses for method matching
8383
if (isDirectThis) {
8484
cleanAttrName = attrLower.substring(6); // Strip '$this.' for plugin matching
8585
}

0 commit comments

Comments
 (0)