On 30-Aug-06, at 6:10 AM, Zachery Bir wrote:

> Maybe, *shrug*, every Javascript reference I've seen points out that
> css style attributes need to be camel cased. Just because they're in
> quotes here doesn't strike me as obviating that. It's still in
> Javascript source. :^)

computedStyle('background-color', 'red') is valid in MochiKit 1.4.  
computedStyle('backgroundColor', 'red') works too, but I like the  
first form. It makes sense for us to note the discrepancy or adjust  
other MochiKit functions to accept either. backgroundColor is an  
artifact of the native DOM API, not JavaScript.

Beau

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

Reply via email to