It appears that the only reason MochiKit.Color requires MochiKit.Style
is because of the MochiKit.Color.fromComputedStyle function that has
the following statement:

var actualColor = MochiKit.Style.getStyle.apply(d, arguments);

Maybe it's just me, but this appears to be a huge waste. Yes,
MochiKit.Style is not that big (14 KB), but if it's only being used
for that one call, I'm sure there's other ways to do it?

Or am I missing something else? Some other reason MochiKit.Style is
required by MochiKit.Color?

Thanks,
Charlie


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to