Hi,
I think I have found a bug in Color.js, line 165 ff:
/** @id MochiKit.Color.Color.prototype.isLight */
isLight: function () {
return this.asHSL().b > 0.5;
},
MochiKit.Color.Color.prototype.isLight is returning always TRUE, because
there is no 'b' property. Changed it to 'l' and it works like a charm.
Keep up the great work.
Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---