will do. but I can't run the test right now, since rake fails with the following error:
** Execute package rake aborted! Don't know how to build task 'clean_package_source' I'm not a ruby user, and I've no idea how to fix this. This happens on a fresh clone. On May 7, 2:00 pm, Tobie Langel <[EMAIL PROTECTED]> wrote: > Please open a bug report for this (http://prototypejs.org/contribute) > and submit a failing test case. > > Thank you. > > Tobie > > On May 7, 12:49 pm, Viktor Kojouharov <[EMAIL PROTECTED]> wrote: > > > That was just to illustrate the problem. I'm not actually calling > > document.createEventObject. I'm calling Object.isHash on the event, > > which i get inside the click handler. The event itself is not null, I > > can assure you of that. Furthermore, it does have the recordset key, > > since I use Object.keys to obtain all the keys (and recordset is just > > one of them). > > > On May 7, 1:46 pm, Tobie Langel <[EMAIL PROTECTED]> wrote:> Hi again, > > > > The problem imho is that document.createEventObject() returns null or > > > undefined, therefore, calling recordset on it throws an error. > > > > Not realted to Object.isHash but to your own code. > > > > Try the folowing: > > > > var e = document.createEventObject(); > > > Object.isHash(e && e.recordset); > > > > Which should work. > > > > Best, > > > > Tobie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" 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/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---
