src/aria/pageEngine/PageEngine.js
function (loadModule) {
            this._rootModule = loadModule.moduleCtrlPrivate;
            this._data = this._rootModule.getData().storage;
            var siteHelper = this._siteConfigHelper;

            ariaUtilsCSSLoader.add(siteHelper.getSiteCss());

            var classesToLoad = siteHelper.getListOfContentProcessors();
            var navigationManagerClass = siteHelper.getNavigationManagerClass();

            if (navigationManagerClass) {
                classesToLoad.push(navigationManagerClass);
            }
            if (siteHelper.siteConfig.animations) {
                classesToLoad.push("aria.pageEngine.utils.AnimationsManager");
            }
            var commonModulesToLoad = siteHelper.getCommonModulesDescription({
                priority : 1
            });

            this._utils.wiseConcat(classesToLoad, this._utils.extractPropertyFromArrayElements(commonModulesToLoad, "classpath"));

            Aria.load({
                classes : classesToLoad,
                oncomplete : {
                    fn : this._loadGlobalModules,
                    scope : this,
                    args : commonModulesToLoad
                },
                onerror : this._getErrorCallbackConfig([this.MISSING_DEPENDENCIES])
            });

        }
function (loadModule) {
            this._rootModule = loadModule.moduleCtrlPrivate;
            this._data = this._rootModule.getData().storage;
            var siteHelper = this._siteConfigHelper;

            ariaUtilsCSSLoader.add(siteHelper.getSiteCss());

            var classesToLoad = siteHelper.getListOfContentProcessors();
            var navigationManagerClass = siteHelper.getNavigationManagerClass();

            if (navigationManagerClass) {
                classesToLoad.push(navigationManagerClass);
            }
            if (siteHelper.siteConfig.animations) {
                classesToLoad.push("aria.pageEngine.utils.AnimationsManager");
            }
            var commonModulesToLoad = siteHelper.getCommonModulesDescription({
                priority : 1
            });

            this._utils.wiseConcat(classesToLoad, this._utils.extractPropertyFromArrayElements(commonModulesToLoad, "classpath"));

            Aria.load({
                classes : classesToLoad,
                oncomplete : {
                    fn : this._loadGlobalModules,
                    scope : this,
                    args : commonModulesToLoad
                },
                onerror : this._getErrorCallbackConfig([this.MISSING_DEPENDENCIES])
            });

        }
function ( loadModule ) { this . _rootModule = loadModule . moduleCtrlPrivate ; this . _data = this . _rootModule . getData ( ) . storage ; var siteHelper = this . _siteConfigHelper ; ariaUtilsCSSLoader . add ( siteHelper . getSiteCss ( ) ) ; var classesToLoad = siteHelper . getListOfContentProcessors ( ) ; var navigationManagerClass = siteHelper . getNavigationManagerClass ( ) ; if ( navigationManagerClass ) { classesToLoad . push ( navigationManagerClass ) ; } if ( siteHelper . siteConfig . animations ) { classesToLoad . push ( "aria.pageEngine.utils.AnimationsManager" ) ; } var commonModulesToLoad = siteHelper . getCommonModulesDescription ( { priority : 1 } ) ; this . _utils . wiseConcat ( classesToLoad , this . _utils . extractPropertyFromArrayElements ( commonModulesToLoad , "classpath" ) ) ; Aria . load ( { classes : classesToLoad , oncomplete : { fn : this . _loadGlobalModules , scope : this , args : commonModulesToLoad } , onerror : this . _getErrorCallbackConfig ( [ this . MISSING_DEPENDENCIES ] ) } ) ; }
Load any dependency global for the site, like common modules. This is a callback of a createModuleCtrl
@param {Object} loadModule Module controller description
Load any dependency global for the site like common modules . This is a callback of a createModuleCtrl