B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Adds an 'onexpand' callback for a variable, lazily handling the addition of
   * new properties.
   */
Adds an 'onexpand' callback for a variable, lazily handling the addition of
new properties.
Adds an ' onexpand ' callback for a variable lazily handling the addition of new properties .
function SF__addExpander(aVar, aObject) {
    if (!aVar || !aObject || typeof aObject !== "object" ||
        aObject.type !== "object") {
      return;
    }
    aVar.forceShowArrow();
    aVar.onexpand = this._addVarProperties.bind(this, aVar, aObject);
  }
function SF__addExpander ( aVar , aObject ) { if ( ! aVar || ! aObject || typeof aObject !== "object" || aObject . type !== "object" ) { return ; } aVar . forceShowArrow ( ) ; aVar . onexpand = this . _addVarProperties . bind ( this , aVar , aObject ) ; }
Adds an 'onexpand' callback for a variable, lazily handling the addition of
 new properties.
Adds an ' onexpand ' callback for a variable lazily handling the addition of new properties .
// No need for expansion for null and undefined values. // Force the twisty to show up.