Updated cordova-js for 2.7.0
diff --git a/CordovaFramework/cordova.osx.js b/CordovaFramework/cordova.osx.js
index a31a209..d386b3f 100644
--- a/CordovaFramework/cordova.osx.js
+++ b/CordovaFramework/cordova.osx.js
@@ -1,8 +1,8 @@
// Platform: osx
-// commit 360bd3e65c33ce4f01e2efb82d641a565ef3c333
+// commit cd29cf0f224ccf25e9d422a33fd02ef67d3a78f4
-// File generated at :: Fri Apr 19 2013 18:36:10 GMT-0700 (PDT)
+// File generated at :: Mon Apr 29 2013 16:14:48 GMT-0700 (PDT)
/*
Licensed to the Apache Software Foundation (ASF) under one
@@ -6095,7 +6095,7 @@
xhr.onload = function() {
// If the response is a JSON string which composes an array, call handlePluginsObject.
// If the request fails, or the response is not a JSON array, just call finishPluginLoading.
- var obj = JSON.parse(this.responseText);
+ var obj = this.responseText && JSON.parse(this.responseText);
if (obj && obj instanceof Array && obj.length > 0) {
handlePluginsObject(obj);
} else {