Permalink
Browse files

Dropped getHex optimization attempt

  • Loading branch information...
infusion committed Feb 5, 2013
1 parent 76d649b commit 8217f41ede2e0c2f67658080c24a51b175f579ca
Showing with 0 additions and 3 deletions.
  1. +0 −3 jquery.xcolor.js
View
@@ -628,9 +628,6 @@
var g2 = this["g"] & 0xf;
var b2 = this["b"] & 0xf;
- if (0 === ((r1 ^ r2) | (g1 ^ g2) | (b1 ^ b2))) {
- return '#' + chars.charAt(r1) + chars.charAt(g1) + chars.charAt(b1);
- }
return '#'
+ chars.charAt(r1) + chars.charAt(r2)
+ chars.charAt(g1) + chars.charAt(g2)

0 comments on commit 8217f41

Please sign in to comment.