-
Notifications
You must be signed in to change notification settings - Fork 479
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
Put templateName on the context instance instead of the context's globals. #328
Conversation
// and do not continue to search for the rest of the path. | ||
// Note: a falsey value at the end of a matched path also comes here. | ||
// This returns the value or undefined if we just have a partial match. | ||
if (i > 1) return ctx; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change related to the __template_name__
change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it looks like the dist wasn't made for this older change, but it's still part of dust.js in the repo
I would suggest adding |
…n each context instance instead of on the context globals
Put templateName on the context instance instead of the context's globals.
Addresses Issue #327