Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0
// clearInput.js

(function () {
  /* global AdventureJS A */

  var p = AdventureJS.Display.prototype;

  /**
   * Clear the input field
   * @memberOf AdventureJS.Display
   * @method AdventureJS.Display#clearInput
   */
  p.clearInput = function Display_clearInput(value) {
    this.inputEl.value = "";
    //this.clearBtn.classList.remove('active');
    this.inputContainerEl.classList.remove("active");
  };
})();