Discord Benachrichigung, PWA zum teil implementiert
This commit is contained in:
1 parent
b82adc93c7
commit
dae99a0b76
716 files changed
+128101
-21
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
if (!globalThis.DOMException) {
|
||||
const { MessageChannel } = require('worker_threads')
|
||||
const port = new MessageChannel().port1
|
||||
const ab = new ArrayBuffer()
|
||||
try { port.postMessage(ab, [ab, ab]) }
|
||||
catch (err) { globalThis.DOMException = err.constructor }
|
||||
}
|
||||
|
||||
module.exports
|
||||
Reference in new issue
Block a user