Closed ecourdoisy closed 11 years ago
I confirm, plugin doesn't works with jQuery 1.9, I'm so sad because I do not have enough knowledge to update it and I need it.
I'm sure you've since solved the problem, but the error is about malformed JSON. An easy mistake is to forget that JSON is not javascript, and you need quotes around your keys in JSON. That's sometimes the tricky source of JSON parse errors. The plugin works w/ jQuery 1.9.
I use plugin with Jquery 1.9 and have an error at the begining.
In my HTML I have added Jquery, plugin and data-localize In lang I've added json file In my JS I've added call var opts = { pathPrefix: "../lang" }; $("[data-localize]").localize("napo", opts);
When I lanch my app I have this error : [LOG] Error: SyntaxError: JSON Parse error: Unexpected EOF
I don't know if this problem is link to jquery version, but don't understand this error. Thanks for your help.