░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/datadrive/moodledata/filedir/1f/f8
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: 1ff85a50ce80dbd0d50e20b94595cfbd881c538c
(function (MemoryGame) { /** * Keeps track of the number of cards that has been turned * * @class H5P.MemoryGame.Counter * @param {H5P.jQuery} $container */ MemoryGame.Counter = function ($container, startValue = 0) { /** @alias H5P.MemoryGame.Counter# */ var self = this; var current = startValue; /** * @private */ self.update = function () { $container[0].innerText = current; }; /** * Get current count. * @returns {number} Current count. */ self.getCount = () => { return current; } /** * Increment the counter. */ self.increment = function () { current++; self.update(); }; /** * Revert counter back to its natural state */ self.reset = function () { current = 0; self.update(); }; self.update(); }; })(H5P.MemoryGame);
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 1ff85a50ce80dbd0d50e20b94595cfbd881c538c
?
900 B
2025-03-03 22:51
EDIT