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 <[email protected]> Date: Sat, 14 Apr 2012 14:24:08 To: [email protected]<[email protected]> Reply-To: [email protected] 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" <[email protected]> wrote: >On Sat, Apr 14, 2012 at 13:50, 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. > > >Now we got this: https://issues.apache.org/jira/browse/CB-514 > >-- >Patrick Mueller >http://muellerware.org
