mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-04-27 23:31:47 -07:00
Minor syntax change
This commit is contained in:
parent
2ee4f2efc7
commit
1802e545d4
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue