Skip to content

Commit 7ddd6a3

Browse files
omidnikrahDABH
authored andcommitted
Update docs: missing semicolon in sample code (#273)
1 parent baa0e1c commit 7ddd6a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The super nifty way
9292
var colors = require('colors');
9393

9494
console.log('hello'.green); // outputs green text
95-
console.log('i like cake and pies'.underline.red) // outputs red underlined text
95+
console.log('i like cake and pies'.underline.red); // outputs red underlined text
9696
console.log('inverse the color'.inverse); // inverses the color
9797
console.log('OMG Rainbows!'.rainbow); // rainbow
9898
console.log('Run the trap'.trap); // Drops the bass
@@ -105,7 +105,7 @@ or a slightly less nifty way which doesn't extend `String.prototype`
105105
var colors = require('colors/safe');
106106

107107
console.log(colors.green('hello')); // outputs green text
108-
console.log(colors.red.underline('i like cake and pies')) // outputs red underlined text
108+
console.log(colors.red.underline('i like cake and pies')); // outputs red underlined text
109109
console.log(colors.inverse('inverse the color')); // inverses the color
110110
console.log(colors.rainbow('OMG Rainbows!')); // rainbow
111111
console.log(colors.trap('Run the trap')); // Drops the bass

0 commit comments

Comments
 (0)