B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Expands the script results it they are currently visible.
   * @param nsIDOMElement aTarget
   */
Expands the script results it they are currently visible.
Expands the script results it they are currently visible .
function DVGS__expandResultsIfNeeded(aTarget) {
    if (aTarget.expanded || aTarget._userToggle) {
      return;
    }
    let { clientHeight } = this._pane;
    let { top, height } = aTarget.getBoundingClientRect();
    if (top - height <= clientHeight || this._forceExpandResults) {
      aTarget.expand(true);
    }
  }
function DVGS__expandResultsIfNeeded ( aTarget ) { if ( aTarget . expanded || aTarget . _userToggle ) { return ; } let { clientHeight } = this . _pane ; let { top , height } = aTarget . getBoundingClientRect ( ) ; if ( top - height <= clientHeight || this . _forceExpandResults ) { aTarget . expand ( true ) ; } }
Expands the script results it they are currently visible.
Expands the script results it they are currently visible .