rgbcolor
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -164,7 +164,3 @@ /* | ||
}; | ||
for (var key in simple_colors) { | ||
if (color_string == key) { | ||
color_string = simple_colors[key]; | ||
} | ||
} | ||
color_string = simple_colors[key] || color_string; | ||
// emd of simple type-in colors | ||
@@ -215,3 +211,3 @@ | ||
if (bits) { | ||
channels = processor(bits); | ||
var channels = processor(bits); | ||
this.r = channels[0]; | ||
@@ -218,0 +214,0 @@ this.g = channels[1]; |
{ | ||
"name": "rgbcolor", | ||
"description": "A module to parse color values", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": "Sebastian Vollnhals <sebastian@vollnhals.info>", | ||
@@ -6,0 +6,0 @@ "main": "./index.js", |
9498
266