incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Re: Different versions of phonegap.js
Date Sat, 26 Nov 2011 14:24:26 GMT
Thanks for the prompt response Simon.

And how do I deal with that now?
Is the current recommendation to make up two different projects and
copy/paste own business logic between them?

On Sat, Nov 26, 2011 at 3:20 PM, Simon MacDonald
<simon.macdonald@gmail.com> wrote:
> The .js file are platform dependent. The API exposed is the same though.
> People are working on making the .js the same for all platforms.
>
> Simon
>
> On Saturday, November 26, 2011, Christian Grobmeier <grobmeier@gmail.com>
> wrote:
>> Hello guys,
>>
>> I created a phonegap project with Xcode and one for Eclipse. Then I
>> compared the phonegap.js files of each of them and found out they are
>> very different to each other. In my case, using the Android-Phonegap
>> file does not catch the "deviceready" event on the iPhone simulator.
>>
>> Now I am a bit confused - I thought I could use exactly the same code
>> for both devices. Do I need to replace these different phonegap.js
>> files on buildtime? I could not find anything about that on the net.
>> Hints appreciated!
>>
>> Cheers,
>> Christian
>>
>>
>> --
>> http://www.grobmeier.de
>> https://www.timeandbill.de
>>
>
> --
> Simon Mac Donald
> http://hi.im/simonmacdonald



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Mime
View raw message