Skip to content
New issue

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

include directive with a custom context throws an error. #73

Closed
Fiveside opened this issue Aug 1, 2013 · 2 comments
Closed

include directive with a custom context throws an error. #73

Fiveside opened this issue Aug 1, 2013 · 2 comments

Comments

@Fiveside
Copy link

Fiveside commented Aug 1, 2013

Using the +include directive with a custom parameter throws an error during compiling.
For example:

+include 'templates/foo', {foo: 'bar'}

returns this error when compiling.

SyntaxError: reserved word "class" can't be assigned`
@netzpirat
Copy link
Owner

Thanks for reporting!

@Fiveside
Copy link
Author

Fiveside commented Aug 6, 2013

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants