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

Add _with option #6

Merged
merged 2 commits into from Jan 10, 2015
Merged

Add _with option #6

merged 2 commits into from Jan 10, 2015

Conversation

TimothyGu
Copy link
Collaborator

@TimothyGu TimothyGu commented Jan 10, 2015

This option controls whether or not to use with() {} in the generated funcs. It is useful for performance purposes. EJS v1 had this option as well, albeit undocumented.

TimothyGu added 2 commits Jan 10, 2015
This option controls whether or not to use with() {} in the generated funcs.
It is useful for performance purposes.
@mde
Copy link
Owner

mde commented Jan 10, 2015

Ah, I saw this in the old code, and re-implementing it was my next order of business. Thanks so much for this!

mde added a commit that referenced this pull request Jan 10, 2015
@mde mde merged commit 2612785 into mde:master Jan 10, 2015
@TimothyGu TimothyGu deleted the with branch Jan 11, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants