-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POMNI WAKE UP TIME TO GO ON AN ADVENTURE
- Loading branch information
1 parent
fa0df26
commit f62c099
Showing
8 changed files
with
194 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
// deno-lint-ignore no-global-assign | ||
console = null | ||
console = null; | ||
|
||
self.onmessage = async (e) => { | ||
try { | ||
|
||
const response = `${eval(e.data)}` | ||
|
||
postMessage(response) | ||
|
||
} catch (err) { | ||
postMessage(`Error occured during code processing: ${err}`) | ||
} | ||
} | ||
try { | ||
const response = `${eval(e.data)}`; | ||
|
||
postMessage(response); | ||
} catch (err) { | ||
postMessage(`Error occured during code processing: ${err}`); | ||
} | ||
}; |
Oops, something went wrong.