Made sure the browsers built-in JSON is used everywhere.

namespaces
Frode Petterson 2014-05-22 11:15:16 +02:00
parent 4ffbf2bace
commit dd52ec332e
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ H5P.init = function () {
}
var library = {
library: contentData.library,
params: H5P.jQuery.parseJSON(contentData.jsonContent)
params: JSON.parse(contentData.jsonContent)
};
// Create new instance.