You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2013/07/16 03:18:18 UTC
ios commit: Updated cordova.js to 3.0.0rc1
Updated Branches:
refs/heads/master 8050fda82 -> c732c0a9e
Updated cordova.js to 3.0.0rc1
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/c732c0a9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/c732c0a9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/c732c0a9
Branch: refs/heads/master
Commit: c732c0a9ea3acea5f68da821d084d3190a7c879b
Parents: 8050fda
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Jul 15 18:18:01 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Jul 15 18:18:01 2013 -0700
----------------------------------------------------------------------
CordovaLib/cordova.js | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/c732c0a9/CordovaLib/cordova.js
----------------------------------------------------------------------
diff --git a/CordovaLib/cordova.js b/CordovaLib/cordova.js
index 2a1ddc2..d4b5b4d 100644
--- a/CordovaLib/cordova.js
+++ b/CordovaLib/cordova.js
@@ -1,5 +1,5 @@
// Platform: ios
-// 2.7.0rc1-168-g1146c63
+// 3.0.0rc1-0-g525e76b
/*
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.7.0rc1-168-g1146c63';
+var CORDOVA_JS_BUILD_LABEL = '3.0.0rc1-0-g525e76b';
// file: lib/scripts/require.js
var require,
@@ -1302,6 +1302,11 @@ function finishPluginLoading() {
function handlePluginsObject(path, moduleList) {
// Now inject the scripts.
var scriptCounter = moduleList.length;
+
+ if (!scriptCounter) {
+ onScriptLoadingComplete();
+ return;
+ }
function scriptLoadedCallback() {
if (!--scriptCounter) {
onScriptLoadingComplete(moduleList);