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 missing reserved words so compiler knows to use array syntax: #940

Merged

Commits on Jan 18, 2015

  1. Add missing reserved words so compiler knows to use array syntax:

    * await
    * null
    * true
    * false
    
    IE 8 was failing to compile Handlebars-generated source code
    because it had helpers.null.
    
    I came up with this list by diffing
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords
    against the ones Handlebars already had.
    
    I added two corresponding tests for nameLookup.
    Matthew Flaschen committed Jan 18, 2015
    Configuration menu
    Copy the full SHA
    c9d723e View commit details
    Browse the repository at this point in the history