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

Garth Gutenberg edited comment on CB-5488 at 3/18/14 8:11 PM:
--------------------------------------------------------------

Same issue for me (Cordova 3.4.0-0.1.3).  Using Sencha Touch, not jQuery 
Mobile.  Following is the script tag load order:

{code}
<script 
src="https://maps.googleapis.com/maps/api/js?&sensor=true&v=3&libraries=geometry";
 type="text/javascript" ></script>
<script src='http://weeverapp.com/lib/js/markerwithtags.js' 
type='text/javascript'></script>
<script src='http://weeverapp.com/lib/js/clusterer.js' 
type='text/javascript'></script>
<script src='http://weeverapp.com/lib/js/infobubble.js' 
type='text/javascript'></script>
<script src="cordova.js" type="text/javascript" charset="utf-8"></script>
{code}

Note that moving cordova.js to the top of the list of scripts has no effect, 
other than the error occurring sooner.  I.e., the following throws the same 
error:

{code}
<script src="cordova.js" type="text/javascript" charset="utf-8"></script>
<script 
src="https://maps.googleapis.com/maps/api/js?&sensor=true&v=3&libraries=geometry";
 type="text/javascript" ></script>
<script src='http://weeverapp.com/lib/js/markerwithtags.js' 
type='text/javascript'></script>
<script src='http://weeverapp.com/lib/js/clusterer.js' 
type='text/javascript'></script>
<script src='http://weeverapp.com/lib/js/infobubble.js' 
type='text/javascript'></script>
{code}


was (Author: ggutenberg):
Same issue for me (Cordova 3.4.0-0.1.3).  Using Sencha Touch, not jQuery 
Mobile.  Following is the script tag load order:

{code}
<script 
src="https://maps.googleapis.com/maps/api/js?&sensor=true&v=3&libraries=geometry";
 type="text/javascript" ></script>
<script src='http://weeverapp.com/lib/js/markerwithtags.js' 
type='text/javascript'></script>
<script src='http://weeverapp.com/lib/js/clusterer.js' 
type='text/javascript'></script>
<script src='http://weeverapp.com/lib/js/infobubble.js' 
type='text/javascript'></script>
<script src="cordova.js" type="text/javascript" charset="utf-8"></script>
{code}

> deviceready event not firing with jQuery Mobile
> -----------------------------------------------
>
>                 Key: CB-5488
>                 URL: https://issues.apache.org/jira/browse/CB-5488
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.1.0
>            Reporter: Federico Kereki
>            Assignee: Shazron Abdullah
>
> If you use PhoneGap + jQuery + jQuery Mobile, the deviceready event doesn't 
> fire. Googling around, I found several similar reports, all pointing out that 
> if jQuery Mobile isn't included, the event fires.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to