From: Jakub Pawlowicz Date: Wed, 22 Mar 2017 12:09:12 +0000 (+0100) Subject: Adds notes which features are available since 4.1. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=84a462fd0143e32118e943d8c438194772962a6a;p=clean-css.git Adds notes which features are available since 4.1. --- diff --git a/README.md b/README.md index d0835239..09ddb907 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ new CleanCSS({ ie7Hack: true, // controls removal of IE7 selector hacks, e.g. `*+html...` mergeablePseudoClasses: [':active', ...], // controls a whitelist of mergeable pseudo classes mergeablePseudoElements: ['::after', ...], // controls a whitelist of mergeable pseudo elements - mergeLimit: 8191, // controls maximum number of selectors in a single rule + mergeLimit: 8191, // controls maximum number of selectors in a single rule (since 4.1.0-pre) multiplePseudoMerging: true // controls merging of rules with multiple pseudo classes / elements (since 4.1.0-pre) }, units: { @@ -442,7 +442,7 @@ new CleanCSS().minify([ ]); ``` -Passing an array of hashes allows you to explicitly specify the order in which the input files are concatenated. Whereas when you use a single hash the order is determined by the [traversal order of object properties](http://2ality.com/2015/10/property-traversal-order-es6.html). +Passing an array of hashes allows you to explicitly specify the order in which the input files are concatenated. Whereas when you use a single hash the order is determined by the [traversal order of object properties](http://2ality.com/2015/10/property-traversal-order-es6.html) - available since 4.1.0-pre. Important note - any `@import` rules already present in the hash will be resolved in memory.