Yeah, it was just a proof of concept. All I need to do now is just add the
platform specific exec.js and we will have our own OS X cordova.js, it
won't work for all the APIs though, since we don't have all the core
plugins implemented.


On Tue, Mar 5, 2013 at 8:41 AM, David Lewis <[email protected]> wrote:

> That answers my next question. I was just trying to find the cordova.osx.js
> for 2.4. The build in 2.4 doesn't actually load Cordova.
>
> Thanks.
>
>
> On Tue, Mar 5, 2013 at 2:23 AM, Shazron <[email protected]> wrote:
>
> > FYI
> > https://issues.apache.org/jira/browse/CB-2621
> >
> > The bridge works but it has no plugins to call yet.
> >
> > The bridge is by binding an object at window.cordovabridge which has a
> > native exec function. My initial idea is to keep using the opaque
> > callbackId reference like iOS for possible plugin re-use.
> >
> > We don't have to do that of course, since we can keep a JavaScriptCore C
> > API reference to the actual JavaScript callbacks and call them directly,
> > not sure of adding this added complexity for plugin authors (we can have
> > wrappers of course).
> >
>

Reply via email to