cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Resolved] (CB-1978) Cordova 2.2 iOS does not work with RequireJS
Date Fri, 07 Dec 2012 14:55:22 GMT


Andrew Grieve resolved CB-1978.

    Resolution: Fixed

Cordova was initially designed to work in this use-case. I think I broke it though when I
required that iOSVCAddr but put on the cordova object. Randomly though, I suspect this problem
is fixed at head since we now get the VCAddr from the user-agent. If you can repo this from
tip-of-tree, please re-open the issue.
> Cordova 2.2 iOS does not work with RequireJS
> --------------------------------------------
>                 Key: CB-1978
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0, 2.2.0
>         Environment: Use RequireJS to loading cordova.js
>            Reporter: Kenichi Yonekawa
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: Master
> Cordova does not fire `deviceready` when using RequireJS to loading cordova.js
> Because, cordova-ios accesses `window.cordova` object at `webViewDidFinishLoad`
> However, window.cordova is undefined. It occurs JavaScript error.
> I create monkey patch for my project.
> it works for me.
> So, cordova-2.1.0 has same problem.
> My monkey patch is here.

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:

View raw message