Skip to content

Commit

Permalink
docs: Fix typo in README.md (npm#107)
Browse files Browse the repository at this point in the history
It seems like the call should be to `themes` instead of `theme` which is not defined in the example. Also add missing curly.
  • Loading branch information
brianloveswords authored and iarna committed Oct 13, 2017
1 parent 81122f0 commit 341e339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ var ourTheme = themes({hasUnicode: true, hasColor: false, platform: 'darwin'})
// create a new theme based on the color ascii theme for this platform
// that brackets the progress bar with arrows
var ourTheme = themes.newTheme(theme(hasUnicode: false, hasColor: true}), {
var ourTheme = themes.newTheme(themes({hasUnicode: false, hasColor: true}), {
preProgressbar: '→',
postProgressbar: '←'
})
Expand Down

0 comments on commit 341e339

Please sign in to comment.