diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/js/questionset.js b/js/questionset.js index ca92a8d..84e3368 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -404,6 +404,7 @@ H5P.QuestionSet = function (options, contentId) { // Masquerade the main object to hide inner properties and functions. var returnObject = { + $: $(this), attach: attach, // Attach to DOM object getQuestions: function () {return questionInstances;}, getScore: getScore, diff --git a/library.json b/library.json index 14cd488..3d79bd6 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "contentType": "question", "majorVersion": 1, "minorVersion": 0, - "patchVersion": 45, + "patchVersion": 46, "runnable": 1, "fullscreen": 0, "machineName": "H5P.QuestionSet", @@ -14,10 +14,14 @@ }, "license": "cc-by-sa", "preloadedJs": [ - {"path": "js/questionset.js"} + { + "path": "js/questionset.js" + } ], "preloadedCss": [ - {"path": "css/questionset.css"} + { + "path": "css/questionset.css" + } ], "preloadedDependencies": [ {