merge with updates from upstream
This commit is contained in:
+1
-11
@@ -231,17 +231,7 @@ var AppInfo = {};
|
||||
!function () {
|
||||
"use strict";
|
||||
|
||||
function initializeApiClient(apiClient) {
|
||||
if (!("cordova" !== self.appMode && "android" !== self.appMode)) {
|
||||
apiClient.getAvailablePlugins = function () {
|
||||
return Promise.resolve([]);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
function onApiClientCreated(e__e, newApiClient) {
|
||||
initializeApiClient(newApiClient);
|
||||
|
||||
function onApiClientCreated(e, newApiClient) {
|
||||
if (window.$) {
|
||||
$.ajax = newApiClient.ajax;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user