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:
Joshua Appelman 2014-12-28 12:33:26 +01:00
parent 847d932a20
commit 30dfb6d2d3

View file

@ -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!');