Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.5.0
-
None
-
Mac OSx Lion, iOS 6.1, jQuery 1.7.2, jQTouch version 1 beta 4 (https://github.com/senchalabs/jQTouch), http://jqtjs.com/
Description
Hi There,
With version 2.5.0 (i can't report for versions between 2.2 and 2.4 since i've upgraded from 2.2 to 2.5 directly) jQTouch seems to not initialize correclty.
Normally jQTouch it's initialized with:
var jQT = new $.jQTouch({});
Outside the:
document.addEventListener("deviceready", onDeviceReady, true); // PhoneGap is ready function onDeviceReady() { dosomething(); }
Now it's not working the app hang on splashscreen, if we put the initialization inside the "onDeviceReady" the app start but the global jQT object it's not seen inside the code.
I've been suggested by Shazron to file a bug here.
Thanks a lot Ciao
Rob