src/aria/utils/Bridge.js
function () {
            // continue working in subwindow
            // var Aria = this._subWindow.Aria;
            var aria = this._subWindow.aria;
            // creates module instance first to be able to dispose it when window close
            var self = this;
            aria.templates.ModuleCtrlFactory.createModuleCtrl({
                classpath : this._config.moduleCtrlClasspath,
                autoDispose : false,
                initArgs : {
                    bridge : this
                }
            }, {
                fn : function (res) {
                    // For some obscure reason on IE 9 only, it is needed to put
                    // this closure here in order to call _moduleLoaded with
                    // the right scope:
                    self._moduleLoaded(res);
                },
                scope : this
            }, false);
        }
function () {
            // continue working in subwindow
            // var Aria = this._subWindow.Aria;
            var aria = this._subWindow.aria;
            // creates module instance first to be able to dispose it when window close
            var self = this;
            aria.templates.ModuleCtrlFactory.createModuleCtrl({
                classpath : this._config.moduleCtrlClasspath,
                autoDispose : false,
                initArgs : {
                    bridge : this
                }
            }, {
                fn : function (res) {
                    // For some obscure reason on IE 9 only, it is needed to put
                    // this closure here in order to call _moduleLoaded with
                    // the right scope:
                    self._moduleLoaded(res);
                },
                scope : this
            }, false);
        }
function ( ) { // continue working in subwindow // var Aria = this._subWindow.Aria; var aria = this . _subWindow . aria ; // creates module instance first to be able to dispose it when window close var self = this ; aria . templates . ModuleCtrlFactory . createModuleCtrl ( { classpath : this . _config . moduleCtrlClasspath , autoDispose : false , initArgs : { bridge : this } } , { fn : function ( res ) { // For some obscure reason on IE 9 only, it is needed to put // this closure here in order to call _moduleLoaded with // the right scope: self . _moduleLoaded ( res ) ; } , scope : this } , false ) ; }
Called when templates package is ready. It will create associated module.
@protected
Called when templates package is ready . It will create associated module .