weixunjie / jquery-i18n-properties

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

Problems while loading properties files #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. repeatedly loading properties files (more than one)

What is the expected output? What do you see instead?
loop quits prematurely or script tries to load f.i. undefined_de.js

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

Please provide any additional information below.
The loop that loads the property file in i18n.properties uses the global scoped 
variable i as index. Others use this variable too. I had a value of 18 as index.
I changed line 67 from
for(i=0; i<files.length; i++) {
to
for(var i=0; i<files.length; i++) {

Original issue reported on code.google.com by torsten....@gmail.com on 1 Oct 2013 at 8:41

Attachments: