incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: why are we monkey patching addEventListener()?
Date Sat, 14 Apr 2012 17:50:59 GMT

>The question is:
>
>    GREAT ODIN'S RAVEN WHY ARE WE DOING THIS?

Because that's how we've done it since day one. That's all I've got.

>
>Does the following just not work for user-created events?
>
>    event = document.createEvent('Events')
>    event.initEvent(blah)
>
>    window.dispatchEvent(event)
>    // or document.dispatchEvent(event)

Not sure, does it work across all platforms?


Mime
View raw message