Skip to content

Commit 91de296

Browse files
committed
Fix helpers.
1 parent 403f94a commit 91de296

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,8 @@ function view_parse(content, minify, filename, controller) {
17711771
continue;
17721772
}
17731773

1774-
cmd = cmd.replace(REG_HELPERS, function(text) {
1774+
// cmd = cmd.replace
1775+
command.command = command.command.replace(REG_HELPERS, function(text) {
17751776
var index = text.indexOf('(');
17761777
return index === - 1 ? text : text.substring(0, index) + '.call(self' + (text.endsWith('()') ? ')' : ',' + text.substring(index + 1));
17771778
});

0 commit comments

Comments
 (0)