I\'m developing a PhoneGap application and I\'d like to be able to debug it in Chrome rather than on the phone. However, I do the initialization of my code in an onDeviceRe
For my mobile site and mobile App I'm using the following code with jQuery:
function init() { ... }; if ("cordova" in window) { $(document).on("deviceready", init); } else { $(init); }