src/common/js/winjs/js/ui.js
function flushDynamicCssRules() {
        var rules = layoutStyleElem.sheet.cssRules,
            classCount = staleClassNames.length,
            i,
            j,
            ruleSuffix;

        for (i = 0; i < classCount; i++) {
            ruleSuffix = "." + staleClassNames[i] + " ";
            for (j = rules.length - 1; j >= 0; j--) {
                if (rules[j].selectorText.indexOf(ruleSuffix) !== -1) {
                    layoutStyleElem.sheet.deleteRule(j);
                }
            }
        }
        staleClassNames = [];
    }
function flushDynamicCssRules() {
        var rules = layoutStyleElem.sheet.cssRules,
            classCount = staleClassNames.length,
            i,
            j,
            ruleSuffix;

        for (i = 0; i < classCount; i++) {
            ruleSuffix = "." + staleClassNames[i] + " ";
            for (j = rules.length - 1; j >= 0; j--) {
                if (rules[j].selectorText.indexOf(ruleSuffix) !== -1) {
                    layoutStyleElem.sheet.deleteRule(j);
                }
            }
        }
        staleClassNames = [];
    }
function flushDynamicCssRules ( ) { var rules = layoutStyleElem . sheet . cssRules , classCount = staleClassNames . length , i , j , ruleSuffix ; for ( i = 0 ; i < classCount ; i ++ ) { ruleSuffix = "." + staleClassNames [ i ] + " " ; for ( j = rules . length - 1 ; j >= 0 ; j -- ) { if ( rules [ j ] . selectorText . indexOf ( ruleSuffix ) !== - 1 ) { layoutStyleElem . sheet . deleteRule ( j ) ; } } } staleClassNames = [ ] ; }
Removes the dynamic CSS rules corresponding to the classes in staleClassNames from the DOM.
Removes the dynamic CSS rules corresponding to the classes in staleClassNames from the DOM .