We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c18f5 commit 6ed7dc2Copy full SHA for 6ed7dc2
src/scripts/h5p-discrete-option-multi-choice.js
@@ -1,6 +1,5 @@
1
import Util from '@services/util.js';
2
import Dictionary from '@services/dictionary.js';
3
-import Globals from '@services/globals.js';
4
import QuestionTypeContract from '@mixins/question-type-contract.js';
5
import XAPI from '@mixins/xapi.js';
6
import Main from '@components/main.js';
@@ -77,7 +76,7 @@ export default class DiscreteOptionMultiChoice extends H5P.Question {
77
76
this.dictionary.fill({ l10n: this.params.l10n, a11y: this.params.a11y });
78
79
// Set globals
80
- this.globals = new Globals();
+ this.globals = new Map();
81
this.globals.set('params', this.params);
82
this.globals.set('resize', () => {
83
this.trigger('resize');
src/scripts/services/globals.js
0 commit comments