Browse Source

remove "export" that's not available in raw JS

pull/123/head
Trent Larson 1 month ago
parent
commit
5849ae2de4
  1. 2
      sw_scripts/safari-notifications.js

2
sw_scripts/safari-notifications.js

@ -566,7 +566,7 @@ async function getNotificationCount() {
return result;
}
export async function blobToBase64String(blob) {
async function blobToBase64String(blob) {
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.onloadend = () => resolve(reader.result); // potential problem if it returns an ArrayBuffer?

Loading…
Cancel
Save