summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/code-gen.js
diff options
context:
space:
mode:
authorMatthew Flaschen <mflaschen@wikimedia.org>2015-01-17 17:08:01 -0500
committerMatthew Flaschen <mflaschen@wikimedia.org>2015-01-17 19:04:38 -0500
commitc9d723e0fb18001273a076c6413c1f847812e508 (patch)
treecf7475035226adc8aa80db9b392550355a5cd4ab /lib/handlebars/compiler/code-gen.js
parentc5fe2527b393a1cc83948bdfd86b8b3783332eef (diff)
downloadhandlebars.js-c9d723e0fb18001273a076c6413c1f847812e508.zip
handlebars.js-c9d723e0fb18001273a076c6413c1f847812e508.tar.gz
handlebars.js-c9d723e0fb18001273a076c6413c1f847812e508.tar.bz2
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.
Diffstat (limited to 'lib/handlebars/compiler/code-gen.js')
0 files changed, 0 insertions, 0 deletions