From ab00c5cc946753ce2137fd9aa55a85cd9f0b5734 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Sat, 21 Mar 2015 16:48:32 +0100 Subject: [PATCH 1/2] Experiment with bubble system --- js/questionset.js | 2 +- library.json | 6 +++--- semantics.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index 655c042..13133fc 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -123,7 +123,7 @@ H5P.QuestionSet = function (options, contentId) { enableSolutionsButton: params.override.overrideShowSolutionButton }); } - var questionInstance = H5P.newRunnable(question, contentId); + var questionInstance = H5P.newRunnable(question, contentId, null, null, self); questionInstances.push(questionInstance); questionInstance.on('resize', function() { self.trigger('resize'); diff --git a/library.json b/library.json index 24bfb11..720f476 100644 --- a/library.json +++ b/library.json @@ -2,8 +2,8 @@ "title": "Question set", "contentType": "question", "majorVersion": 1, - "minorVersion": 2, - "patchVersion": 0, + "minorVersion": 3, + "patchVersion": 1, "embedTypes": [ "iframe" ], @@ -55,4 +55,4 @@ "minorVersion": 0 } ] -} +} \ No newline at end of file diff --git a/semantics.json b/semantics.json index 8addef2..f7a5b99 100644 --- a/semantics.json +++ b/semantics.json @@ -110,7 +110,7 @@ "label": "Question type", "description": "Library for this question.", "options": [ - "H5P.MultiChoice 1.2", + "H5P.MultiChoice 1.3", "H5P.DragQuestion 1.2", "H5P.Blanks 1.2", "H5P.MarkTheWords 1.2", From 2bd5843e9740f81d2c79ae04dbd97ddf1fc7c85e Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Sun, 22 Mar 2015 20:59:59 +0100 Subject: [PATCH 2/2] Use correct mc version --- semantics.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantics.json b/semantics.json index f7a5b99..8addef2 100644 --- a/semantics.json +++ b/semantics.json @@ -110,7 +110,7 @@ "label": "Question type", "description": "Library for this question.", "options": [ - "H5P.MultiChoice 1.3", + "H5P.MultiChoice 1.2", "H5P.DragQuestion 1.2", "H5P.Blanks 1.2", "H5P.MarkTheWords 1.2",