Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Prototype cannot load properly because window.Event is immutable

#29

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.

Reported by larry.karnowski (at gmail) · February 1st, 2009 @ 06:14 AM

State: resolved
Milestone: 1.0 Release
Assigned to: Thatcher Thatcher

Activity

  1. larry.karnowski (at gmail)
    larry.karnowski (at gmail)

    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-...

    Patch: http://github.com/Lawjoskar/env-...

    February 1st, 2009 @ 06:25 AM

  2. larry.karnowski (at gmail)
    larry.karnowski (at gmail)

    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.

    February 1st, 2009 @ 06:44 AM

  3. Thatcher
    Thatcher
    • 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.

    February 16th, 2009 @ 08:37 AM

  4. Thatcher

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.