B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Initialize the UI for re-positioning the console
   * @private
   */
Initialize the UI for re-positioning the console
@private
Initialize the UI for re - positioning the console @private
function WCF__initPositionUI()
  {
    let doc = this.document;
    let itemAbove = doc.querySelector("menuitem[consolePosition='above']");
    itemAbove.addEventListener("command", this._onPositionConsoleCommand, false);
    let itemBelow = doc.querySelector("menuitem[consolePosition='below']");
    itemBelow.addEventListener("command", this._onPositionConsoleCommand, false);
    let itemWindow = doc.querySelector("menuitem[consolePosition='window']");
    itemWindow.addEventListener("command", this._onPositionConsoleCommand, false);
    this.positionMenuitems = {
      last: null,
      above: itemAbove,
      below: itemBelow,
      window: itemWindow,
    };
  }
function WCF__initPositionUI ( ) { let doc = this . document ; let itemAbove = doc . querySelector ( "menuitem[consolePosition='above']" ) ; itemAbove . addEventListener ( "command" , this . _onPositionConsoleCommand , false ) ; let itemBelow = doc . querySelector ( "menuitem[consolePosition='below']" ) ; itemBelow . addEventListener ( "command" , this . _onPositionConsoleCommand , false ) ; let itemWindow = doc . querySelector ( "menuitem[consolePosition='window']" ) ; itemWindow . addEventListener ( "command" , this . _onPositionConsoleCommand , false ) ; this . positionMenuitems = { last : null , above : itemAbove , below : itemBelow , window : itemWindow , } ; }
Initialize the UI for re-positioning the console
 @private
Initialize the UI for re - positioning the console @private