I used create/init/dispatchEvent as well in my implementation until I
started working with common js :)

On Sat, Apr 14, 2012 at 10:50 AM, Filip Maj <[email protected]> wrote:

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

Reply via email to