Sindbad~EG File Manager

Current Path : /var/www/moodledata/bnf310/filedir/5c/7b/
Upload File :
Current File : /var/www/moodledata/bnf310/filedir/5c/7b/5c7b62030adf126e4594c0b0faf0e5ce1a6bee68

(function (ImageSequencing) {

  /**
   * ImageSequencing.Counter - Keeps track of the number of times the game is submitted.
   *
   * @class H5P.ImageSequencing.Counter
   * @param {H5P.jQuery} $container
   */
  ImageSequencing.Counter = function ($container) {

    /** @alias H5P.ImageSequencing.Counter# */
    const that = this;
    let current = 0;

    /**
     * update - update the counter
     * @private
     */
    const update = function () {
      $container.text(current);
    };

    /**
     * Increment the counter.
     */
    that.increment = function () {
      current++;
      update();
    };

    /**
     * Revert counter back to its natural state
     */
    that.reset = function () {
      current = 0;
      update();
    };
  };

}) (H5P.ImageSequencing);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists