src/aria/templates/ModuleCtrl.js
function (res, cb) {
            var subModules = res.subModules;
            if (subModules && subModules.length > 0) {
                if (!this._smList) {
                    this._smList = [];
                }
                this._smList = this._smList.concat(res.subModules);
            }
            this.$callback(cb, res);
        }
function (res, cb) {
            var subModules = res.subModules;
            if (subModules && subModules.length > 0) {
                if (!this._smList) {
                    this._smList = [];
                }
                this._smList = this._smList.concat(res.subModules);
            }
            this.$callback(cb, res);
        }
function ( res , cb ) { var subModules = res . subModules ; if ( subModules && subModules . length > 0 ) { if ( ! this . _smList ) { this . _smList = [ ] ; } this . _smList = this . _smList . concat ( res . subModules ) ; } this . $callback ( cb , res ) ; }
Internal callback method called when all sub-modules requested in loadSubModules have been loaded.
@param {Array} res array of the sub-module public interfaces
@param {aria.core.CfgBeans:Callback} cb callback to be called at the end of this method
@private
Internal callback method called when all sub - modules requested in loadSubModules have been loaded .