incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Letyński (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-499) Cordova 1.6 breaks with RequireJS
Date Tue, 17 Apr 2012 05:09:33 GMT

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

Michał Letyński commented on CB-499:
------------------------------------

Dear Filip,

What about my use case ? When i define cordova and plugin via:
 <script src="cordova.js"></script> 
<script src="plugin.js"></script> 
<script src="required.js"></script> 

and inside plugin i have:

cordova.addConstructor(function() { //code });

constructor is not invoked ... 


                
> Cordova 1.6 breaks with RequireJS
> ---------------------------------
>
>                 Key: CB-499
>                 URL: https://issues.apache.org/jira/browse/CB-499
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message