B2G/gecko/browser/devtools/scratchpad/scratchpad.js
/**
   * Remove an observer for Scratchpad events.
   *
   * @param IScratchpadObserver aObserver
   * @see addObserver
   */
Remove an observer for Scratchpad events.
@param IScratchpadObserver aObserver
@see addObserver
Remove an observer for Scratchpad events . @param IScratchpadObserver aObserver @see addObserver
function SP_removeObserver(aObserver)
  {
    let index = this._observers.indexOf(aObserver);
    if (index != -1) {
      this._observers.splice(index, 1);
    }
  }
function SP_removeObserver ( aObserver ) { let index = this . _observers . indexOf ( aObserver ) ; if ( index != - 1 ) { this . _observers . splice ( index , 1 ) ; } }
Remove an observer for Scratchpad events.
Remove an observer for Scratchpad events .