B2G/gecko/browser/devtools/styleinspector/CssRuleView.jsm
/**
   * Get rid of the editor.
   */
Get rid of the editor.
Get rid of the editor .
function InplaceEditor_clear()
  {
    if (!this.input) {
      return;
    }
    this.input.removeEventListener("blur", this._onBlur, false);
    this.input.removeEventListener("keypress", this._onKeyPress, false);
    this.input.removeEventListener("keyup", this._onKeyup, false);
    this.input.removeEventListener("oninput", this._onInput, false);
    this._stopAutosize();
    this.elt.style.display = this.originalDisplay;
    this.elt.focus();
    if (this.destroy) {
      this.destroy();
    }
    this.elt.parentNode.removeChild(this.input);
    this.input = null;
    delete this.elt.inplaceEditor;
    delete this.elt;
  }
function InplaceEditor_clear ( ) { if ( ! this . input ) { return ; } this . input . removeEventListener ( "blur" , this . _onBlur , false ) ; this . input . removeEventListener ( "keypress" , this . _onKeyPress , false ) ; this . input . removeEventListener ( "keyup" , this . _onKeyup , false ) ; this . input . removeEventListener ( "oninput" , this . _onInput , false ) ; this . _stopAutosize ( ) ; this . elt . style . display = this . originalDisplay ; this . elt . focus ( ) ; if ( this . destroy ) { this . destroy ( ) ; } this . elt . parentNode . removeChild ( this . input ) ; this . input = null ; delete this . elt . inplaceEditor ; delete this . elt ; }
Get rid of the editor.
Get rid of the editor .
// Already cleared.