mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 15:02:28 +00:00
unused
This commit is contained in:
2 files changed
-14
No files matched your search
@@ -146,5 +146,4 @@
|
||||
<!-- <script src="/service.js" --->
|
||||
<!-- <script src="/typeChecker/chekerIndex.js" --->
|
||||
<!-- <script src="/audio/worklet/worklet.js" --->
|
||||
<!-- <script src="/utils/dirrWorker.js" --->
|
||||
</html>
|
||||
@@ -1,13 +0,0 @@
|
||||
//This is *only* for webkit, and it really sucks
|
||||
//If webkit starts supporting the more sain way, let me know so I can remove this after a year or two of them supporting it
|
||||
onmessage = async (e) => {
|
||||
const [file, content, rand] = e.data as [FileSystemFileHandle, ArrayBuffer, number];
|
||||
try {
|
||||
const handle = await file.createSyncAccessHandle();
|
||||
handle.write(content);
|
||||
handle.close();
|
||||
postMessage([rand, true]);
|
||||
} catch {
|
||||
postMessage([rand, false]);
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user