src/aria/tools/inspector/InspectorModule.js
function (templateCtxt) {
            var moduleCtrl = templateCtxt.moduleCtrlPrivate;
            // find associated module
            var modules = this._data.modules, i, l;
            for (i = 0, l = modules.length; i < l; i++) {
                if (modules[i].moduleCtrl == moduleCtrl) {
                    this._data.selectedModule = modules[i];
                    break;
                } else {
                    this._data.selectedModule = null;
                }
            }
            // find associated template description
            this._data.selectedTemplate = this._findTemplateDes(this._data.templates, templateCtxt);

        }
function (templateCtxt) {
            var moduleCtrl = templateCtxt.moduleCtrlPrivate;
            // find associated module
            var modules = this._data.modules, i, l;
            for (i = 0, l = modules.length; i < l; i++) {
                if (modules[i].moduleCtrl == moduleCtrl) {
                    this._data.selectedModule = modules[i];
                    break;
                } else {
                    this._data.selectedModule = null;
                }
            }
            // find associated template description
            this._data.selectedTemplate = this._findTemplateDes(this._data.templates, templateCtxt);

        }
function ( templateCtxt ) { var moduleCtrl = templateCtxt . moduleCtrlPrivate ; // find associated module var modules = this . _data . modules , i , l ; for ( i = 0 , l = modules . length ; i < l ; i ++ ) { if ( modules [ i ] . moduleCtrl == moduleCtrl ) { this . _data . selectedModule = modules [ i ] ; break ; } else { this . _data . selectedModule = null ; } } // find associated template description this . _data . selectedTemplate = this . _findTemplateDes ( this . _data . templates , templateCtxt ) ; }
Set in selected template and moduleCtrl descriptions from a given template context
@protected
@param {aria.templates.TemplateCtxt} templateCtxt
Set in selected template and moduleCtrl descriptions from a given template context