Experiment with bubble system

pull/1/head
Svein-Tore Griff With 2015-03-21 16:48:32 +01:00
parent fffe9d318e
commit ab00c5cc94
3 changed files with 5 additions and 5 deletions

View File

@ -123,7 +123,7 @@ H5P.QuestionSet = function (options, contentId) {
enableSolutionsButton: params.override.overrideShowSolutionButton enableSolutionsButton: params.override.overrideShowSolutionButton
}); });
} }
var questionInstance = H5P.newRunnable(question, contentId); var questionInstance = H5P.newRunnable(question, contentId, null, null, self);
questionInstances.push(questionInstance); questionInstances.push(questionInstance);
questionInstance.on('resize', function() { questionInstance.on('resize', function() {
self.trigger('resize'); self.trigger('resize');

View File

@ -2,8 +2,8 @@
"title": "Question set", "title": "Question set",
"contentType": "question", "contentType": "question",
"majorVersion": 1, "majorVersion": 1,
"minorVersion": 2, "minorVersion": 3,
"patchVersion": 0, "patchVersion": 1,
"embedTypes": [ "embedTypes": [
"iframe" "iframe"
], ],

View File

@ -110,7 +110,7 @@
"label": "Question type", "label": "Question type",
"description": "Library for this question.", "description": "Library for this question.",
"options": [ "options": [
"H5P.MultiChoice 1.2", "H5P.MultiChoice 1.3",
"H5P.DragQuestion 1.2", "H5P.DragQuestion 1.2",
"H5P.Blanks 1.2", "H5P.Blanks 1.2",
"H5P.MarkTheWords 1.2", "H5P.MarkTheWords 1.2",