[dist] [fix] Remove override check. Bump to v0.6.0-1

This commit is contained in:
Marak Squires 2011-12-09 04:17:00 -08:00
parent 1ccd286880
commit 3c2eb9d0e6
2 changed files with 1 additions and 4 deletions

View File

@ -46,9 +46,6 @@ if (!isHeadless) {
//
var addProperty = function (color, func) {
var allowOverride = ['bold'];
if (""[color] && allowOverride.indexOf(color) === -1) {
throw new Error(color + ' already exists on String.prototype, cannot override.')
}
exports[color] = function(str) {
return func.apply(str);
};

View File

@ -1,7 +1,7 @@
{
"name": "colors",
"description": "get colors in your node.js console like what",
"version": "0.6.0",
"version": "0.6.0-1",
"author": "Marak Squires",
"repository": {
"type": "git",