src/aria/tools/inspector/InspectorModule.js
function (container, templateCtxt) {
            var contentSearch = null, i, l;
            for (i = 0, l = container.length; i < l; i++) {
                var description = container[i];
                if (description.templateCtxt == templateCtxt) {
                    return description;
                } else {
                    contentSearch = this._findTemplateDes(description.content, templateCtxt);
                    if (contentSearch) {
                        return contentSearch;
                    }
                }
            }
            return null;
        }
function (container, templateCtxt) {
            var contentSearch = null, i, l;
            for (i = 0, l = container.length; i < l; i++) {
                var description = container[i];
                if (description.templateCtxt == templateCtxt) {
                    return description;
                } else {
                    contentSearch = this._findTemplateDes(description.content, templateCtxt);
                    if (contentSearch) {
                        return contentSearch;
                    }
                }
            }
            return null;
        }
function ( container , templateCtxt ) { var contentSearch = null , i , l ; for ( i = 0 , l = container . length ; i < l ; i ++ ) { var description = container [ i ] ; if ( description . templateCtxt == templateCtxt ) { return description ; } else { contentSearch = this . _findTemplateDes ( description . content , templateCtxt ) ; if ( contentSearch ) { return contentSearch ; } } } return null ; }
Find description linked with given templateCtxt
@protected
@param {Array} container
@param {aria.templates.TemplateCtxt} templateCtxt
@return {Object}
Find description linked with given templateCtxt