Commit 9a2c7257 authored by JC Brand's avatar JC Brand

Use the builtin JSON library

parent 4dd8fa65
......@@ -154,7 +154,7 @@
this.i18n = locales.en;
}
if (typeof this.i18n === "string") {
this.i18n = $.parseJSON(this.i18n);
this.i18n = window.JSON.parse(this.i18n);
}
if (typeof this.jed === "undefined") {
this.jed = new Jed(this.i18n);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment