src/aria/utils/Bridge.js
function () {
            // start working in subwindow
            var Aria = this._subWindow.Aria, aria = this._subWindow.aria;
            // link the url map and the root map in the sub-window
            // to the corresponding maps in the main window:
            Aria.rootFolderPath = this.getAria().rootFolderPath;
            aria.core.DownloadMgr._urlMap = ariaCoreDownloadMgr._urlMap;
            aria.core.DownloadMgr._rootMap = ariaCoreDownloadMgr._rootMap;
            Aria.setRootDim({
                width : {
                    min : 16
                },
                height : {
                    min : 16
                }
            });
            Aria.load({
                classes : ['aria.templates.ModuleCtrlFactory'],
                oncomplete : {
                    fn : this._templatesReady,
                    scope : this
                }
            });
        }
function () {
            // start working in subwindow
            var Aria = this._subWindow.Aria, aria = this._subWindow.aria;
            // link the url map and the root map in the sub-window
            // to the corresponding maps in the main window:
            Aria.rootFolderPath = this.getAria().rootFolderPath;
            aria.core.DownloadMgr._urlMap = ariaCoreDownloadMgr._urlMap;
            aria.core.DownloadMgr._rootMap = ariaCoreDownloadMgr._rootMap;
            Aria.setRootDim({
                width : {
                    min : 16
                },
                height : {
                    min : 16
                }
            });
            Aria.load({
                classes : ['aria.templates.ModuleCtrlFactory'],
                oncomplete : {
                    fn : this._templatesReady,
                    scope : this
                }
            });
        }
function ( ) { // start working in subwindow var Aria = this . _subWindow . Aria , aria = this . _subWindow . aria ; // link the url map and the root map in the sub-window // to the corresponding maps in the main window: Aria . rootFolderPath = this . getAria ( ) . rootFolderPath ; aria . core . DownloadMgr . _urlMap = ariaCoreDownloadMgr . _urlMap ; aria . core . DownloadMgr . _rootMap = ariaCoreDownloadMgr . _rootMap ; Aria . setRootDim ( { width : { min : 16 } , height : { min : 16 } } ) ; Aria . load ( { classes : [ 'aria.templates.ModuleCtrlFactory' ] , oncomplete : { fn : this . _templatesReady , scope : this } } ) ; }
Function called from the sub window to start the module
Function called from the sub window to start the module