Prototype cannot load properly because window.Event is immutable
Reported by larry.karnowski (at gmail) | 2009-02-01 06:14:48 UTC | in 1.0 Release
Prototype sets several of its own properties on the Event object (polluting the namespace) and cannot do so because every time you call the window.Event getter, you get a new instance of a warning function.
Comments and changes to this ticket
-

larry.karnowski (at gmail) 2009-02-01 06:25:10 UTC
I've added a Prototype compatibility test and a patch for this on my GitHub fork. Here are the commits:
Prototype compat test: http://github.com/Lawjoskar/env-...
-

larry.karnowski (at gmail) 2009-02-01 06:44:50 UTC
Note, we're using this same "return a warning function" technique through out the DOM. I'm thinking of extracting my "fix" into a function that we can reuse for all of the DOM objects. I'm interested in y'all's thoughts on this.
-

Thatcher 2009-02-16 08:37:18 UTC
- Milestone set to 1.0 Release
- State changed from new to open
- Assigned user set to Thatcher
Nice catch and creative fix. I changed this in the source and will close the ticket when I push out.
-

Thatcher 2009-02-17 04:35:50 UTC
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a javascript browser environment
People watching this ticket
Referenced by
-
27
pulling to github/jeresig
I've opened tickets #29 & #30 to cover the problems with ...