���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home3/cpr76684/moodledata/filedir/ef/87/ef8784ce14a8abd284ea931fa8abecce6daf631c
���ѧ٧ѧ�
(function (ImageSequencing, Timer) { /** * ImageSequencing.Timer - Adapter between image sequencing and H5P.Timer * * @class H5P.ImageSequencing.Timer * @extends H5P.Timer * @param {H5P.jQuery} $element */ ImageSequencing.Timer = function ($element) { /** @alias H5P.ImageSequencing.Timer# */ const that = this; // Initialize event inheritance Timer.call(that, 100); /** @private {string} */ const naturalState = '0:00'; /** * update - Set up callback for time updates. * Formats time stamp for humans. * * @private */ const update = function () { const time = that.getTime(); const minutes = Timer.extractTimeElement(time, 'minutes'); let seconds = Timer.extractTimeElement(time, 'seconds') % 60; if (seconds < 10) { seconds = '0' + seconds; } $element.text(minutes + ':' + seconds); }; // Setup default behavior that.notify('every_tenth_second', update); that.on('reset', function () { $element.text(naturalState); that.notify('every_tenth_second', update); }); }; // Inheritance ImageSequencing.Timer.prototype = Object.create(Timer.prototype); ImageSequencing.Timer.prototype.constructor = ImageSequencing.Timer; }) (H5P.ImageSequencing, H5P.Timer);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�