incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtan...@gmail.com
Subject Re: why are we monkey patching addEventListener()?
Date Sat, 14 Apr 2012 21:27:32 GMT
I think we also monkey patch to trigger the callback for device ready via the channel. I agree
it isn't the nicest way but is a low impact coupling between triggering channel events and
raising dom events.
Sent on the TELUS Mobility network with BlackBerry

-----Original Message-----
From: Filip Maj <fil@adobe.com>
Date: Sat, 14 Apr 2012 14:24:08 
To: callback-dev@incubator.apache.org<callback-dev@incubator.apache.org>
Reply-To: callback-dev@incubator.apache.org
Subject: Re: why are we monkey patching addEventListener()?

Disagree with your point that "we should do it different on each platform"
- at least the monkey patching is consistent on all platforms and WORKS.

On 4/14/12 2:20 PM, "Patrick Mueller" <pmuellr@gmail.com> wrote:

>On Sat, Apr 14, 2012 at 13:50, Filip Maj <fil@adobe.com> 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.
>
>
>Now we got this: https://issues.apache.org/jira/browse/CB-514
>
>-- 
>Patrick Mueller
>http://muellerware.org

Mime
View raw message