From 52659a52f76ab1d4d846ed0db105ff60733f42aa Mon Sep 17 00:00:00 2001 From: Frank Ronny Larsen Date: Mon, 8 Jul 2013 11:37:33 +0200 Subject: [PATCH] BUGFIX: Flatten Questionset questions array --- library.json | 2 +- semantics.json | 21 +++++++-------------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/library.json b/library.json index cbafc0a..9e1eaae 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "contentType": "question", "majorVersion": 1, "minorVersion": 0, - "patchVersion": 19, + "patchVersion": 20, "runnable": 1, "machineName": "H5P.QuestionSet", "author": "Amendor AS", diff --git a/semantics.json b/semantics.json index 7859cfa..f08eee5 100644 --- a/semantics.json +++ b/semantics.json @@ -41,20 +41,13 @@ "entity": "question", "field": { "name": "question", - "type": "group", - "label": "Question", - "fields": [ - { - "name": "library", - "type": "library", - "label": "Question type", - "description": "Library for this question.", - "options": [ - "H5P.MultiChoice 1.0", - "H5P.DragQuestion 1.0", - "H5P.Blanks 1.0" - ] - } + "type": "library", + "label": "Question type", + "description": "Library for this question.", + "options": [ + "H5P.MultiChoice 1.0", + "H5P.DragQuestion 1.0", + "H5P.Blanks 1.0" ] } },