alfajango / jquery-dynatable

A more-fun, semantic, alternative to datatables
http://www.dynatable.com
Other
2.77k stars 363 forks source link

Creating global 'for' variable. Should be 'for (var model ...'. #236

Open olivierdu95 opened 8 years ago

olivierdu95 commented 8 years ago

Hello all,

i am currently trying to use dynatable into playframework, i have defined a methode "/networks" to get data in Json format,

var $records = $.get("/networks") myRecords = JSON.parse($records.text()); $('#networks-table').dynatable({ dataset: { records: myRecords } });

but when i try to implement this javascript code an error appear on the line 182 ;( : Creating global 'for' variable. Should be 'for (var model ...'.

Can someone help me please ?. Thank you in advance.