Prototype cannot load properly because window.Event is immutable
Reported by larry.karnowski (at gmail) | February 1st, 2009 @ 06:14 AM | 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) February 1st, 2009 @ 06:25 AM
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) February 1st, 2009 @ 06:44 AM
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 February 16th, 2009 @ 08:37 AM
- 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 February 17th, 2009 @ 04:35 AM
- 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 ...