Fix problems with the new content.json

d3summaryChart
Svein-Tore Griff With 2013-02-08 00:54:02 +01:00
parent 914a5ec991
commit 31f3f52567
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ H5P.QuestionSet = function (options, contentId) {
for (var i=0; i<params.questions.length; i++) {
var question = params.questions[i];
// TODO: Render on init, inject in template.
var tmp = new (H5P.classFromName(question.library.library))(question.library.params, contentId);
var tmp = new (H5P.classFromName(question.library))(question.params, contentId);
questionInstances.push(tmp);
}