forked from orbit-oss/chalk
Fixes incorrect string concatenation in example.
Issue got introduced in 299f7d17 when removing console.log from the examples to shorten them.
References #44.
This commit is contained in:
parent
847d932a20
commit
30dfb6d2d3
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ var chalk = require('chalk');
|
|||
chalk.blue('Hello world!');
|
||||
|
||||
// combine styled and normal strings
|
||||
chalk.blue('Hello'), 'World' + chalk.red('!');
|
||||
chalk.blue('Hello') + 'World' + chalk.red('!');
|
||||
|
||||
// compose multiple styles using the chainable API
|
||||
chalk.blue.bgRed.bold('Hello world!');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue