Dropped window in favor of var to increase readability, usability and prevent IE8 from crashing.
parent
8ddc2ec148
commit
084924935e
|
@ -10,7 +10,7 @@
|
||||||
//
|
//
|
||||||
// Events provided:
|
// Events provided:
|
||||||
// - h5pQuestionSetFinished: Triggered when a question is finished. (User presses Finish-button)
|
// - h5pQuestionSetFinished: Triggered when a question is finished. (User presses Finish-button)
|
||||||
window.H5P = window.H5P || {};
|
var H5P = H5P || {};
|
||||||
|
|
||||||
H5P.QuestionSet = function (options, contentId) {
|
H5P.QuestionSet = function (options, contentId) {
|
||||||
if ( !(this instanceof H5P.QuestionSet) )
|
if ( !(this instanceof H5P.QuestionSet) )
|
||||||
|
|
Loading…
Reference in New Issue