mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Minor syntax change
This commit is contained in:
@@ -12,7 +12,8 @@ function accessNestedPropertyReverse(obj, keys) {
|
||||
|
||||
const salt = accessNestedPropertyReverse(globalConfig, ["file", "info"]);
|
||||
|
||||
onmessage = function ({ data: { jobId, job, data } }) {
|
||||
onmessage = function (event) {
|
||||
const { jobId, job, data } = event.data;
|
||||
const result = performJob(job, data);
|
||||
postMessage({ jobId, result });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user