jrburke / talk-phonegap-201207

RequireJS+PhoneGap talk for July 2012
16 stars 3 forks source link

With phonegap 2.0 and cordovajs unified #1

Open tdurand opened 11 years ago

tdurand commented 11 years ago

As you said on the README, does the new release of phonegap 2.0 give abilitie to use this without the hack?

jrburke commented 11 years ago

I have not tracked the latest phonegap release, but I expect the need to load phonegap.js as part of page load still exists. From my brief talk with @filmaj at phonegap day, it would be a bigger change to allow phonegap.js to load async, maybe even after DOMContentLoaded, since many of the phone environments set up the browser-to-native communication channel during that time.

I would like to work out a plan for it, but unfortunately my current work is not using phonegap, so I have not carved out the time to dive into it more.

tdurand commented 11 years ago

It seems that on the latest released there is an unified cordova.js file. I'm working on building a similar template to deploy easily a code base to multiple platform. If i succeed to something usefull, i will share it.