Home
last modified time | relevance | path

Searched refs:tokensVariant (Results 1 – 1 of 1) sorted by relevance

/plugin/asciidocjs/node_modules/clean-css/lib/optimizer/level-2/
Drestructure.js139 function allCombinations(tokensVariant, propertySize, propertiesCount, level) { argument
140 …var differenceVariants = [[tokensVariant, sizeDifference(tokensVariant, propertySize, propertiesCo…
141 if (tokensVariant.length > 2 && level > 0) {
142 for (var i = tokensVariant.length - 1; i >= 0; i--) {
143 var subVariant = Array.prototype.slice.call(tokensVariant, 0);
152 function sizeDifference(tokensVariant, propertySize, propertiesCount) { argument
154 for (var i = tokensVariant.length - 1; i >= 0; i--) {
155 …allSelectorsSize += tokensVariant[i][2].length > propertiesCount ? serializeRules(tokensVariant[i]…
157 return allSelectorsSize - (tokensVariant.length - 1) * propertySize + 1;