incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CB-304) Cordova's require/define can't be used with Dojo's require/define
Date Fri, 09 Mar 2012 20:40:57 GMT


Filip Maj resolved CB-304.

    Resolution: Fixed

[Updated the JS|;a=commit;h=07b5166da42811d12ca25a16e517406935685ebd]
to hide away require+define and hang it off the {{cordova}} object.

[Updated the Android repository|;a=commit;h=715c0a5bea32eaf42b976a3c564897f89c32d8d9]
with the JS changes + the calls from native into the JS.
> Cordova's require/define can't be used with Dojo's require/define
> -----------------------------------------------------------------
>                 Key: CB-304
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android, CordovaJS
>    Affects Versions: 1.5.0
>            Reporter: Patrick Mueller
>            Assignee: Filip Maj
>             Fix For: 1.6.0
> summarized from
> {quote}
> I was targeting Android and used Phonegap 1.2.0 in combination with Dojo 1.7 which worked
fine. Now I switched to Phonegap 1.5.0 and found a severe problem. The new module system in
Phonegap 1.5.0 uses global functions "define" and "require". Dojo 1.7 does the same for its
own module system. Hence, whatever is loaded first, breaks the other one. 
> Could the Phonegap developers consider to modify the module system in a way that it is
compatible with Dojo's? 
> {quote}

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