duanjingyu007 / jquery-i18n-properties

Automatically exported from code.google.com/p/jquery-i18n-properties
0 stars 0 forks source link

Javascript keywords cannot be node name in tree #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a messages.properties which has "default.name=Larry" as an entry.

What is the expected output? What do you see instead?
The parsing of the file fails with "Uncaught SyntaxError: Unexpected token 
default"

What version of the product are you using? On what operating system?
1.0.9

Please provide any additional information below.
I guess this has to do with the the object being created. I think creating a 
map with key/values will be better. I'm not sure about other issues though.

Original issue reported on code.google.com by rahul....@gmail.com on 9 Aug 2012 at 12:20

GoogleCodeExporter commented 8 years ago
not sure if its the same issue : but I got error when properties files got 
entry with delete key , like delete = Delete , if i remove it all goes well...

Original comment by vedm...@gmail.com on 20 Nov 2012 at 9:54