Skip to content

Commit

Permalink
Fix an example code in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jan 7, 2017
1 parent 1560160 commit f7826c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -69,8 +69,10 @@ var cssOne = 'h1 { color: red }';
var cssTwo = 'h1 { color: blue }';
// View a summary for all plugins across all css files
Promise.all(
postcss([devtools, autoprefixer()]).process(cssOne),
postcss([devtools, autoprefixer()]).process(cssTwo)
[
postcss([devtools, autoprefixer()]).process(cssOne),
postcss([devtools, autoprefixer()]).process(cssTwo)
]
).then(() => {
console.log('Done.');
devtools.printSummary();
Expand Down

0 comments on commit f7826c4

Please sign in to comment.