[ 
https://issues.apache.org/jira/browse/CB-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638986#comment-13638986
 ] 

Roberto commented on CB-2904:
-----------------------------

Hi Shazron,
Sorry my fault not specifiyng i'm using jQuery not Zepto.
I'm trying to debug with the function You provided here:

window.onerror = function(err,fn,ln) {alert("ERROR:" + err + ", " + fn + ":" + 
ln);};

A Guy in stackoverflow suggested a workaround please see:

http://stackoverflow.com/questions/15732567/phonegap-2-5-0-jqtouch-fail-inizialize/16005380?noredirect=1#comment22845664_16005380

I can't get out of the reference error btw! Thanks a lot! Ciao
Rob
                
> Problem with jQTouch in initilization
> -------------------------------------
>
>                 Key: CB-2904
>                 URL: https://issues.apache.org/jira/browse/CB-2904
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.5.0
>         Environment: Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 
> (https://github.com/senchalabs/jQTouch), http://jqtjs.com/
>            Reporter: Roberto
>            Assignee: Shazron Abdullah
>             Fix For: 2.7.0
>
>
> 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:
> {code}
> var jQT = new $.jQTouch({});
> {code}
> Outside the:
> {code}
> document.addEventListener("deviceready", onDeviceReady, true);
> // PhoneGap is ready
> function onDeviceReady() {
>   dosomething();
> }
> {code}
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to