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

(function() {
  /*global adventurejs A*/ 
  "use strict";

	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');
  }
  
}());