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 8AD1799E8 for ; Mon, 26 Mar 2012 18:20:20 +0000 (UTC) Received: (qmail 16883 invoked by uid 500); 26 Mar 2012 18:20:20 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 16854 invoked by uid 500); 26 Mar 2012 18:20:20 -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 16845 invoked by uid 99); 26 Mar 2012 18:20:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 18:20:20 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.183 as permitted sender) Received: from [64.18.1.183] (HELO exprod6og102.obsmtp.com) (64.18.1.183) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 18:20:12 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob102.postini.com ([64.18.5.12]) with SMTP ID DSNKT3CzRtNaF/WXm159wWz+dqgpOxR3FSP1@postini.com; Mon, 26 Mar 2012 11:19:51 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q2QIJnvq025269 for ; Mon, 26 Mar 2012 11:19:50 -0700 (PDT) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q2QIJmPl026551 for ; Mon, 26 Mar 2012 11:19:49 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas02.corp.adobe.com ([10.8.189.100]) with mapi; Mon, 26 Mar 2012 11:19:48 -0700 From: Filip Maj To: "callback-dev@incubator.apache.org" Date: Mon, 26 Mar 2012 11:20:32 -0700 Subject: Re: cordova-js version inside the file Thread-Topic: cordova-js version inside the file Thread-Index: Ac0LfQakv3GCSpgZSXWsFu9j45kH9A== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I've added this to JIRA https://issues.apache.org/jira/browse/CB-385 On 3/24/12 12:42 AM, "Jesse" wrote: >+1 >Also, the platform it was built for may make sense as well, so you can >easily open the file and isolate an issue of someone using an Android exec >in an iOS app .. ( which seems to happen a lot ) > > > >On Fri, Mar 23, 2012 at 11:04 PM, Brian LeRoux wrote: > >> +1 >> >> On Fri, Mar 23, 2012 at 9:04 PM, Bryce Curtis >> wrote: >> > I'm in favor of having the version inside - some integrators rename >>the >> JS >> > file, so having the version inside would be useful. >> > >> > It might be good to for corova-js init code to compare JS with native >>to >> > verify they are the same version - and alert the user if not. >> > >> > On Fri, Mar 23, 2012 at 6:03 PM, Shazron wrote: >> > >> >> ... just like jQuery. Thoughts? Filename is enough? >> >> >> >> The way I did it from before in iOS was replace a known token inside >> >> the .js file with the version. >> >> >>