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

Commits on May 18, 2017

  1. Handlebars.compile() does not modify "options" anymore

    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 committed May 18, 2017
    Configuration menu
    Copy the full SHA
    1bcddf1 View commit details
    Browse the repository at this point in the history