Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77A1A9C4A for ; Wed, 18 Apr 2012 11:20:06 +0000 (UTC) Received: (qmail 79454 invoked by uid 500); 18 Apr 2012 11:20:06 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 79422 invoked by uid 500); 18 Apr 2012 11:20:06 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 79413 invoked by uid 99); 18 Apr 2012 11:20:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 11:20:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 11:20:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BB0FF3A12CC for ; Wed, 18 Apr 2012 11:19:41 +0000 (UTC) Date: Wed, 18 Apr 2012 11:19:41 +0000 (UTC) From: "Dewang Shah (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1903852964.326.1334747981767.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1400803478.21410.1334313013170.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-499) Cordova 1.6 breaks with RequireJS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256448#comment-13256448 ] Dewang Shah commented on CB-499: -------------------------------- @Filip - I doubt it is because of Cordova's require and define methods. That was a problem with 1.5.0 which I patched in my JS file using the fix that is now part of 1.6.0. I then had the code working with 1.5.0. Something else broke it in 1.6.0 but in my case I was using RequireJS to also load Cordova. I fixed my project to load Cordova as a top level script and that was fine on Android but did not work on iOS. The deviceready event never fired on iOS even with Cordova being a top level script. I have now had to abandon using RequireJS completely since I cannot abandon Cordova :-). > 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, iOS > Affects Versions: 1.6.0, 1.6.1 > Environment: iOS (iPod Touch), Cordova 1.6.0 or 1.6.1, RequireJS 1.0.7 > Reporter: Dewang Shah > Assignee: Filip Maj > Fix For: 1.7.0 > > Attachments: www-michal.tar.gz > > > 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