From 66d7e3314088d36a452d810f46fce27f196306f7 Mon Sep 17 00:00:00 2001 From: jfoclpf Date: Sat, 3 Jun 2023 22:51:54 +0100 Subject: [PATCH] add fetch as global for standardJS --- www/js/file.js | 2 +- www/js/functions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/file.js b/www/js/file.js index 137b987..26099d3 100644 --- a/www/js/file.js +++ b/www/js/file.js @@ -1,6 +1,6 @@ /* eslint camelcase: off */ -/* global app, cordova, XMLHttpRequest, FileReader, Blob, FormData */ +/* global app, cordova, XMLHttpRequest, FileReader, Blob, FormData, fetch */ app.file = (function (thisModule) { // format: text, dataURL, arrayBuffer, binaryString diff --git a/www/js/functions.js b/www/js/functions.js index ed6a2d8..067c8ab 100755 --- a/www/js/functions.js +++ b/www/js/functions.js @@ -1,6 +1,6 @@ /* eslint camelcase: off */ -/* global app, cordova, $, device, ADMIN_DEVICE_UUIDs */ +/* global app, cordova, $, device, ADMIN_DEVICE_UUIDs, fetch */ app.functions = (function (thisModule) { // to run on startup