Made sure the browsers built-in JSON is used everywhere.
parent
4ffbf2bace
commit
dd52ec332e
|
@ -45,7 +45,7 @@ H5P.init = function () {
|
||||||
}
|
}
|
||||||
var library = {
|
var library = {
|
||||||
library: contentData.library,
|
library: contentData.library,
|
||||||
params: H5P.jQuery.parseJSON(contentData.jsonContent)
|
params: JSON.parse(contentData.jsonContent)
|
||||||
};
|
};
|
||||||
|
|
||||||
// Create new instance.
|
// Create new instance.
|
||||||
|
|
Loading…
Reference in New Issue