src/aria/templates/CSSMgr.js
function (classpath, cssTemplates) {
            for (var i = 0, length = cssTemplates.length; i < length; i++) {
                var cssClasspath = Aria.getClasspath(cssTemplates[i]);
                if (!this.__globalUsage[cssClasspath]) {
                    this.__globalUsage[cssClasspath] = [];
                }
                this.__globalUsage[cssClasspath].push(classpath);
            }
        }
function (classpath, cssTemplates) {
            for (var i = 0, length = cssTemplates.length; i < length; i++) {
                var cssClasspath = Aria.getClasspath(cssTemplates[i]);
                if (!this.__globalUsage[cssClasspath]) {
                    this.__globalUsage[cssClasspath] = [];
                }
                this.__globalUsage[cssClasspath].push(classpath);
            }
        }
function ( classpath , cssTemplates ) { for ( var i = 0 , length = cssTemplates . length ; i < length ; i ++ ) { var cssClasspath = Aria . getClasspath ( cssTemplates [ i ] ) ; if ( ! this . __globalUsage [ cssClasspath ] ) { this . __globalUsage [ cssClasspath ] = [ ] ; } this . __globalUsage [ cssClasspath ] . push ( classpath ) ; } }
Register a link between a classpath and a CSSTemplate. This is used during CSS reload to identify if a CSS
has to be reloaded.
@param {String} classpath classpath that have a dependency on some css
@param {Array} cssTemplates css classpaths or references
Register a link between a classpath and a CSSTemplate . This is used during CSS reload to identify if a CSS has to be reloaded .