Adds code tags around String.prototype.

This commit is contained in:
Joshua Appelman 2014-08-30 23:08:28 +02:00
parent d55efc39b5
commit a7b3e31cd3

View file

@ -7,7 +7,7 @@
[colors.js](https://github.com/Marak/colors.js) used to be the most popular [colors.js](https://github.com/Marak/colors.js) used to be the most popular
string styling module, but it has serious deficiencies like extending string styling module, but it has serious deficiencies like extending
String.prototype which causes all kinds of `String.prototype` which causes all kinds of
[problems](https://github.com/yeoman/yo/issues/68). Although there are other [problems](https://github.com/yeoman/yo/issues/68). Although there are other
ones, they either do too much or not enough. ones, they either do too much or not enough.
@ -19,7 +19,7 @@ ones, they either do too much or not enough.
## Why ## Why
- Highly performant - Highly performant
- Doesn't extend String.prototype - Doesn't extend `String.prototype`
- Expressive API - Expressive API
- Ability to nest styles - Ability to nest styles
- Clean and focused - Clean and focused