B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Initializes the SourceEditor instance.
   *
   * @param function aCallback
   *        Called after the editor finishes initializing.
   */
Initializes the SourceEditor instance.
@param function aCallback
Called after the editor finishes initializing.
Initializes the SourceEditor instance . @param function aCallback Called after the editor finishes initializing .
function DV_initializeEditor(aCallback) {
    let placeholder = document.getElementById("editor");
    let config = {
      mode: SourceEditor.MODES.JAVASCRIPT,
      showLineNumbers: true,
      readOnly: true,
      showAnnotationRuler: true,
      showOverviewRuler: true,
    };
    this.editor = new SourceEditor();
    this.editor.init(placeholder, config, function() {
      this._onEditorLoad();
      aCallback();
    }.bind(this));
  }
function DV_initializeEditor ( aCallback ) { let placeholder = document . getElementById ( "editor" ) ; let config = { mode : SourceEditor . MODES . JAVASCRIPT , showLineNumbers : true , readOnly : true , showAnnotationRuler : true , showOverviewRuler : true , } ; this . editor = new SourceEditor ( ) ; this . editor . init ( placeholder , config , function ( ) { this . _onEditorLoad ( ) ; aCallback ( ) ; } . bind ( this ) ) ; }
Initializes the SourceEditor instance.
Initializes the SourceEditor instance .