Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 742EEC48F for ; Wed, 19 Jun 2013 22:03:44 +0000 (UTC) Received: (qmail 98929 invoked by uid 500); 19 Jun 2013 22:03:44 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 98899 invoked by uid 500); 19 Jun 2013 22:03:44 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 98822 invoked by uid 99); 19 Jun 2013 22:03:44 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 22:03:44 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 27C1925EA9; Wed, 19 Jun 2013 22:03:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bowserj@apache.org To: commits@cordova.apache.org Date: Wed, 19 Jun 2013 22:03:45 -0000 Message-Id: In-Reply-To: <01fbabdd70104e7e8358a5024c2e289b@git.apache.org> References: <01fbabdd70104e7e8358a5024c2e289b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] android commit: Dealing with the retagging of cordova.js Dealing with the retagging of cordova.js Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/e01678da Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/e01678da Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/e01678da Branch: refs/heads/2.9.x Commit: e01678da93f65493fcb12060fb96b67979e7d7d7 Parents: 2b6a683 Author: Joe Bowser Authored: Wed Jun 19 15:03:11 2013 -0700 Committer: Joe Bowser Committed: Wed Jun 19 15:03:11 2013 -0700 ---------------------------------------------------------------------- framework/assets/www/cordova.js | 92 ++++++++++++++++++++++++++---------- 1 file changed, 68 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/e01678da/framework/assets/www/cordova.js ---------------------------------------------------------------------- diff --git a/framework/assets/www/cordova.js b/framework/assets/www/cordova.js index c6fefd5..b072c81 100644 --- a/framework/assets/www/cordova.js +++ b/framework/assets/www/cordova.js @@ -1,5 +1,5 @@ // Platform: android -// 2.9.0rc1-0-g11df4b7 +// 2.9.0rc1-0-g002f33d /* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,7 +19,7 @@ under the License. */ ;(function() { -var CORDOVA_JS_BUILD_LABEL = '2.9.0rc1-0-g11df4b7'; +var CORDOVA_JS_BUILD_LABEL = '2.9.0rc1-0-g002f33d'; // file: lib/scripts/require.js var require, @@ -6801,11 +6801,21 @@ require('cordova/channel').onNativeReady.fire(); } } + function scriptErrorCallback(err) { + // Open Question: If a script path specified in cordova_plugins.js does not exist, do we fail for all? + // this is currently just continuing. + scriptCounter--; + if (scriptCounter === 0) { + onScriptLoadingComplete && onScriptLoadingComplete(); + } + } + // Helper function to inject a