dpinol / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

Bug in IE8 related with JS reserved keyword when using call and param #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call a template and pass it {param default: 'stuff'}
2. Open a page that uses the template above in IE8
3. IE8 gives an error because SOY compiles the instruction in 1. to an object 
literal where default is not surrounded by quotes (e.g. {id: 'origin', label: 
'Origin', default: opt_data.widgetInstaceList.length})

What is the expected output? What do you see instead?
NA

What version of the product are you using? On what operating system?
closure-templates-for-java-2011-22-12

Please provide any additional information below.

Original issue reported on code.google.com by lfac...@gmail.com on 30 May 2012 at 2:38

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub: 
https://github.com/google/closure-templates. Please reopen this there if it's 
still an issue.

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:10