[mochikit] Additional information for a bug

2010-04-27 Thread Saikat Chakrabarti
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

Re: [mochikit] Additional information for a bug

2010-04-27 Thread Bob Ippolito
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. On Mon, Apr 26, 2010 at