incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Updated) (JIRA)" <>
Subject [jira] [Updated] (CB-499) Cordova 1.6 breaks with RequireJS
Date Fri, 13 Apr 2012 14:54:17 GMT


Filip Maj updated CB-499:

    Component/s: CordovaJS
       Assignee: Filip Maj

It sounds like this may be a JS issue, however cordova's {{require}} and {{define}} methods
are closured to only the cordova.js file.

What exactly do you mean by compatibility? Are you using cordova's require/define methods
(i.e. {{cordova.require}}) to load in a RequireJS-compatible module? If so: that would never
work. Cordova uses a simplified definition of a module and thus, a simpler implementation
of the loader.

Can you please provide an example HTML file and describe exactly what you are seeing is failing?

> Cordova 1.6 breaks with RequireJS
> ---------------------------------
>                 Key: CB-499
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.6.0
>         Environment: Android, Cordova 1.6.0, RequireJS 1.0.7
>            Reporter: Dewang Shah
>            Assignee: Filip Maj
> Cordova 1.6 breaks compatibility with RequireJS. This uesd to work in 1.5 but now stops
all other Require modules from loading. The deviceready event fires within seconds (much sooner
that 1.5) and then all modules fail to load.
> Making Cordova the last module to load does not make any difference.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message