src/aria/templates/CSSMgr.js
function (cssCtxt) {
            var classpath = cssCtxt.tplClasspath;
            var associatedTo = this.__styleTagAssociation[classpath];

            if (associatedTo) {
                return associatedTo;
            }

            if (cssCtxt.isTemplate()) {
                associatedTo = "tpl";
            } else if (cssCtxt.isWidget()) {
                associatedTo = "wgt";
            } else {
                associatedTo = "pool" + this.__NEXT_TAG_INDEX;
                this.__NEXT_TAG_INDEX += 1;
            }

            return associatedTo;
        }
function (cssCtxt) {
            var classpath = cssCtxt.tplClasspath;
            var associatedTo = this.__styleTagAssociation[classpath];

            if (associatedTo) {
                return associatedTo;
            }

            if (cssCtxt.isTemplate()) {
                associatedTo = "tpl";
            } else if (cssCtxt.isWidget()) {
                associatedTo = "wgt";
            } else {
                associatedTo = "pool" + this.__NEXT_TAG_INDEX;
                this.__NEXT_TAG_INDEX += 1;
            }

            return associatedTo;
        }
function ( cssCtxt ) { var classpath = cssCtxt . tplClasspath ; var associatedTo = this . __styleTagAssociation [ classpath ] ; if ( associatedTo ) { return associatedTo ; } if ( cssCtxt . isTemplate ( ) ) { associatedTo = "tpl" ; } else if ( cssCtxt . isWidget ( ) ) { associatedTo = "wgt" ; } else { associatedTo = "pool" + this . __NEXT_TAG_INDEX ; this . __NEXT_TAG_INDEX += 1 ; } return associatedTo ; }
Get the style tag id for a CSS classpath
@param {aria.templates.CSSCtxt} cssCtxt CSS Template Context
Get the style tag id for a CSS classpath