[mochikit] Additional information for a bug

2 views
Skip to first unread message

Saikat Chakrabarti

unread,
Apr 26, 2010, 10:46:43 PM4/26/10
to MochiKit
I couldn't find a way to comment on a bug I just filed (https://
trac.mochikit.com/ticket/365) but here is a sample implementation that
would do the correct thing: http://gist.github.com/380263 (from
http://ejohn.org/blog/ecmascript-5-objects-and-properties/).

--
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to moch...@googlegroups.com.
To unsubscribe from this group, send email to mochikit+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en.

Bob Ippolito

unread,
Apr 27, 2010, 11:32:32 AM4/27/10
to Saikat Chakrabarti, MochiKit
Well, the implementation of MochiKit's keys function was written years
before any of the browsers implemented an Object.keys function. It's
unfortunate that they don't do exactly the same thing, but changing
the implementation of MochiKit's keys would break existing code.
Reply all
Reply to author
Forward
0 new messages