Skip to content

Commit d4d7378

Browse files
committed
Improve readme code blocks
1 parent 43ddaf5 commit d4d7378

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Compresses the css output from less using [clean-css](https://github.com/jakubpa
66

77
## lessc usage
88

9-
```
9+
```bash
1010
npm install -g less-plugin-clean-css
1111
```
1212

1313
and then on the command line,
1414

15-
```
15+
```bash
1616
lessc file.less --clean-css="--s1 --advanced --compatibility=ie8"
1717
```
1818

lib/clean-css-processor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function() {
4343

4444
if (sourceMap) {
4545
if (sourcesContent) {
46-
for (var source = 0; source < sources.length; source++) {
46+
for (let source = 0; source < sources.length; source++) {
4747
output.sourceMap.setSourceContent(sources[source], sourcesContent[source]);
4848
}
4949
}

0 commit comments

Comments
 (0)