mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Minor syntax change
This commit is contained in:
parent
2ee4f2efc7
commit
1802e545d4
@ -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 });
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user