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

Handlebars.compile() does not modify "options" anymore #1349

Merged
merged 1 commit into from
May 21, 2017

Conversation

nknapp
Copy link
Collaborator

@nknapp nknapp commented May 18, 2017

Fixes #1327

  • This commit creates a shallow copy of the "options" passed to
    Handlebars.compile() in order to prevent modifications
  • Note that "new Handlebars.Compiler().compile(..., options)" still
    modify the options object. This might change in the future, if
    anybody needs a fix for that.

Fixes handlebars-lang#1327

- This commit creates a shallow copy of the "options" passed to
  Handlebars.compile() in order to prevent modifications
- Note that "new Handlebars.Compiler().compile(..., options)" still
  modify the options object. This might change in the future, if
  anybody needs a fix for that.
@nknapp nknapp merged commit 8a836e2 into handlebars-lang:4.x May 21, 2017
@nknapp
Copy link
Collaborator Author

nknapp commented May 21, 2017

AppveyorCI is not configured yet, thus the failure

@nknapp nknapp deleted the issue-1327 branch October 13, 2017 18:40
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.

1 participant