From 84a462fd0143e32118e943d8c438194772962a6a Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Wed, 22 Mar 2017 13:09:12 +0100 Subject: [PATCH] Adds notes which features are available since 4.1. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.34.1