color-diff
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -66,7 +66,7 @@ /** | ||
type = type || 'closest'; | ||
for (var idx1 in a){ | ||
for (var idx1 = 0; idx1 < a.length; idx1 += 1){ | ||
var color1 = a[idx1]; | ||
var best_color = undefined; | ||
var best_color_diff = undefined; | ||
for (var idx2 in b) | ||
for (var idx2 = 0; idx2 < b.length; idx2 += 1) | ||
{ | ||
@@ -73,0 +73,0 @@ var color2 = b[idx2]; |
{ | ||
"name": "color-diff", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Implemets the CIEDE2000 color difference algorithm, conversion between RGB and LAB color and mapping all colors in palette X to the closest or most different color in palette Y based on the CIEDE2000 difference.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43518