From e01678da93f65493fcb12060fb96b67979e7d7d7 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 19 Jun 2013 15:03:11 -0700 Subject: [PATCH] Dealing with the retagging of cordova.js --- framework/assets/www/cordova.js | 90 ++++++++++++++++++++++++--------- 1 file changed, 67 insertions(+), 23 deletions(-) diff --git a/framework/assets/www/cordova.js b/framework/assets/www/cordova.js index c6fefd5e..b072c81e 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