From callback-dev-return-5152-apmail-incubator-callback-dev-archive=incubator.apache.org@incubator.apache.org Sun Apr 15 08:27:54 2012 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 048C99C24 for ; Sun, 15 Apr 2012 08:27:54 +0000 (UTC) Received: (qmail 2146 invoked by uid 500); 15 Apr 2012 08:27:53 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 1976 invoked by uid 500); 15 Apr 2012 08:27:53 -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 1938 invoked by uid 99); 15 Apr 2012 08:27:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2012 08:27:52 +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; Sun, 15 Apr 2012 08:27:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68DAB36B149 for ; Sun, 15 Apr 2012 08:27:28 +0000 (UTC) Date: Sun, 15 Apr 2012 08:27:28 +0000 (UTC) From: =?utf-8?Q?Micha=C5=82_Lety=C5=84ski_=28Issue_Comment_Edited=29_=28JIRA=29?= To: callback-dev@incubator.apache.org Message-ID: <957265611.26344.1334478448489.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1400803478.21410.1334313013170.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (CB-499) Cordova 1.6 breaks with RequireJS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-499?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13254280= #comment-13254280 ]=20 Micha=C5=82 Lety=C5=84ski edited comment on CB-499 at 4/15/12 8:27 AM: ------------------------------------------------------------- I have the same problem for IOS, i have cordova defined as module. I get su= ch error: 2012-04-15 12:20:57.382 [8730:13403] Error: executing module function 'setI= nfo' in module 'cordova/plugin/ios/device'. Have you included the iOS versi= on of the cordova-1.6.0.js file? When i move cordova from requiredJs and define it in index.html this error = disappear. However i have problem with my custom plugins ... Im adding them= via: cordova.addConstructor(function() { //code }); However this constructor is never invoked. When i remove required.js refere= nce everythink works ... =20 Also everythink worked in 1.5 version.=20 I didn't notice any information/warnings in update guide according to requi= red.js and new cordova 1.6. =20 was (Author: mikel): I have the same problem for IOS, i have cordova defined as module. I ge= t such error: 2012-04-15 12:20:57.382 fwuiPadClient[8730:13403] Error: executing module f= unction 'setInfo' in module 'cordova/plugin/ios/device'. Have you included = the iOS version of the cordova-1.6.0.js file? When i move cordova from requiredJs and define it in index.html this error = disappear. However i have problem with my custom plugins ... Im adding them= via: cordova.addConstructor(function() { //code }); However this constructor is never invoked. When i remove required.js refere= nce everythink works ... =20 Also everythink worked in 1.5 version.=20 I didn't notice any information/warnings in update guide according to requi= red.js and new cordova 1.6. =20 > 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 even= t 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira