public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99c17e5
)
Adds missing info about passing arrays to `minify` method.
author
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Wed, 14 Jan 2015 20:02:13 +0000
(20:02 +0000)
committer
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Wed, 14 Jan 2015 20:03:57 +0000
(20:03 +0000)
Apparently I forgot to include Readme section with #400.
Follow up to
f22851cb5a4f21ecf2189a998757724c8e910a93
.
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
8e86dd4
..
66150a6
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-249,6
+249,12
@@
new CleanCSS({ sourceMap: inputSourceMapAsString, target: pathToOutputDirectory
### How to minify multiple files with API
+#### Passing an array
+
+```javascript
+new CleanCSS().minify(['path/to/file/one', 'path/to/file/two']);
+```
+
#### Passing a hash
```javascript