jrowny / ionic-angular-cordova-require-seed

Same as the ionic cordova seed, but uses RequireJS to load instead of a bunch of script includes.
MIT License
27 stars 8 forks source link

Including Cordova plugins #1

Open rikkipitt opened 10 years ago

rikkipitt commented 10 years ago

Hi @jrowny, I saw this on Twitter earlier and have been itching to try it out all day with a project I'm building.

Any ideas how best to require Cordova/Cordova plugins in your main.js when testing in a browser with a python server?

Cheers!

Rikki

gauravspatel commented 10 years ago

I ended up moving my cordova.js to it's own script tag outside of require.js so that I could debug in the browser easily. Would love to see a good polyfill come up for cordova in the browser.

jrowny commented 10 years ago

I use ripple emulator for browser testing and it works quite well. I haven't updated this project in awhile.

On Mon, Jun 23, 2014 at 4:14 PM, Gaurav Patel notifications@github.com wrote:

I ended up moving my cordova.js to it's own script tag outside of require.js so that I could debug in the browser easily. Would love to see a good polyfill come up for cordova in the browser.

— Reply to this email directly or view it on GitHub https://github.com/jrowny/ionic-angular-cordova-require-seed/issues/1#issuecomment-46895797 .

Jonathan

helloworld3q3q commented 7 years ago

@jrowny I have encountered this problem , you can tell me how to solve