We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found the issue I was having before. Test case:
s = render('{% macro foo(x, y) %}{{ x.x }}{{ y.x }}{% endmacro %}' + '{{ foo(bar, baz) }}'); s.should.equal('');
The error is TypeError: Cannot read property '__keywords' of undefined
TypeError: Cannot read property '__keywords' of undefined
Macros should have the same behavior with undefined names as regular templates.
(Edit: I don't have this issue in v0.1.7)
The text was updated successfully, but these errors were encountered:
Thanks, I'll look into this.
Sorry, something went wrong.
This should be fixed by @bhagany in #70
Reopening, I just hit the error again even with the supposed fix. Need to look into it more.
Haven't heard this reported in forever, so closing until we find a test case
No branches or pull requests
I found the issue I was having before. Test case:
The error is
TypeError: Cannot read property '__keywords' of undefined
Macros should have the same behavior with undefined names as regular templates.
(Edit: I don't have this issue in v0.1.7)
The text was updated successfully, but these errors were encountered: