merge with updates from upstream

This commit is contained in:
vitorsemeano
2019-02-28 18:31:53 +00:00
5 changed files with 48 additions and 43 deletions
+1 -11
View File
@@ -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;
}