[CB-4187] Fix the fix for start-up when no plugins are installed.
(cherry picked from commit ab2cb2cf6d3839373a0fa1372f2383fd17b93ecb)


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/9c34b589
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/9c34b589
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/9c34b589

Branch: refs/heads/2.9.x
Commit: 9c34b58999e3a63a20985babf1dd84a78cd33d65
Parents: 41a2e9e
Author: Andrew Grieve <[email protected]>
Authored: Tue Jul 16 23:03:04 2013 -0400
Committer: Andrew Grieve <[email protected]>
Committed: Tue Oct 22 11:37:00 2013 -0400

----------------------------------------------------------------------
 lib/common/pluginloader.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/9c34b589/lib/common/pluginloader.js
----------------------------------------------------------------------
diff --git a/lib/common/pluginloader.js b/lib/common/pluginloader.js
index 5f61b39..19f84bb 100644
--- a/lib/common/pluginloader.js
+++ b/lib/common/pluginloader.js
@@ -81,7 +81,7 @@ function handlePluginsObject(path, moduleList) {
     var scriptCounter = moduleList.length;
 
     if (!scriptCounter) {
-        onScriptLoadingComplete();
+        finishPluginLoading();
         return;
     }
     function scriptLoadedCallback() {

Reply via email to