mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-18 14:32:53 +08:00
Updating JS for Android
This commit is contained in:
parent
a308100288
commit
909e6645e7
@ -1,8 +1,8 @@
|
||||
// Platform: android
|
||||
|
||||
// commit 360bd3e65c33ce4f01e2efb82d641a565ef3c333
|
||||
// commit cd29cf0f224ccf25e9d422a33fd02ef67d3a78f4
|
||||
|
||||
// File generated at :: Fri Apr 19 2013 17:55:18 GMT-0700 (PDT)
|
||||
// File generated at :: Thu Apr 25 2013 14:53:10 GMT-0700 (PDT)
|
||||
|
||||
/*
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
@ -6813,7 +6813,7 @@ require('cordova/channel').onNativeReady.fire();
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user