Skip to content

Commit

Permalink
add fetch as global for standardJS
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoclpf committed Jun 3, 2023
1 parent b0e01db commit 66d7e33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/js/file.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion www/js/functions.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 66d7e33

Please sign in to comment.