Skip to content

Commit

Permalink
pass context fix
Browse files Browse the repository at this point in the history
  • Loading branch information
redspirit committed Nov 5, 2024
1 parent 3647c16 commit 87676fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Listok.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Listok {
if (this.isEmpty(func)) {
return '';
} else if(typeof func === 'function') {
return func(this.parseFunctionParams(tagParams));
return func(this.parseFunctionParams(tagParams), context);
} else {
return func.toString();
}
Expand Down

0 comments on commit 87676fd

Please sign in to comment.