B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Initialize the JSTerminal UI.
   * @private
   */
Initialize the JSTerminal UI.
@private
Initialize the JSTerminal UI . @private
function JST__initUI()
  {
    let doc = this.hud.document;
    this.completeNode = doc.querySelector(".jsterm-complete-node");
    this.inputNode = doc.querySelector(".jsterm-input-node");
    this.inputNode.addEventListener("keypress", this._keyPress, false);
    this.inputNode.addEventListener("input", this._inputEventHandler, false);
    this.inputNode.addEventListener("keyup", this._inputEventHandler, false);
    this.lastInputValue && this.setInputValue(this.lastInputValue);
  }
function JST__initUI ( ) { let doc = this . hud . document ; this . completeNode = doc . querySelector ( ".jsterm-complete-node" ) ; this . inputNode = doc . querySelector ( ".jsterm-input-node" ) ; this . inputNode . addEventListener ( "keypress" , this . _keyPress , false ) ; this . inputNode . addEventListener ( "input" , this . _inputEventHandler , false ) ; this . inputNode . addEventListener ( "keyup" , this . _inputEventHandler , false ) ; this . lastInputValue && this . setInputValue ( this . lastInputValue ) ; }
Initialize the JSTerminal UI.
Initialize the JSTerminal UI .