Skip to content

Commit

Permalink
Merge pull request #1127 from benptc/fix-eslint
Browse files Browse the repository at this point in the history
fix eslint issues
  • Loading branch information
benptc authored Aug 26, 2024
2 parents fad5756 + 0d69267 commit 6bdd3b2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion libraries/objectDefaultFiles/SpatialApplicationAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
applicationId: this.applicationId,
callId: callId,
result: result
}, '*')
}, '*');
}
}
});
Expand Down
16 changes: 8 additions & 8 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3535,11 +3535,11 @@ function socketServer() {
const newEntry = {
subscriptions: [],
socket: socket
}
};
realityEditorSocketSubscriptions.push(newEntry);
}

const entry = realityEditorSocketSubscriptions.find(entry => entry.socket === socket);
const entry = realityEditorSocketSubscriptions.find(thisEntry => thisEntry.socket === socket);

let isNew = true;
entry.subscriptions.forEach(subscription => {
Expand Down Expand Up @@ -3609,7 +3609,7 @@ function socketServer() {
realityEditorSocketSubscriptions.push(newEntry);
}

const entry = realityEditorSocketSubscriptions.find(entry => entry.socket === socket);
const entry = realityEditorSocketSubscriptions.find(thisEntry => thisEntry.socket === socket);

let isNew = true;
entry.subscriptions.forEach(subscription => {
Expand Down Expand Up @@ -3657,11 +3657,11 @@ function socketServer() {
const newEntry = {
subscriptions: [],
socket: socket
}
};
realityEditorBlockSocketSubscriptions.push(newEntry);
}

const entry = realityEditorBlockSocketSubscriptions.find(entry => entry.socket === socket);
const entry = realityEditorBlockSocketSubscriptions.find(thisEntry => thisEntry.socket === socket);

let isNew = true;
entry.subscriptions.forEach(subscription => {
Expand Down Expand Up @@ -3838,11 +3838,11 @@ function socketServer() {
const newEntry = {
subscriptions: [],
socket: socket
}
};
realityEditorUpdateSocketSubscriptions.push(newEntry);
}

const entry = realityEditorUpdateSocketSubscriptions.find(entry => entry.socket === socket);
const entry = realityEditorUpdateSocketSubscriptions.find(thisEntry => thisEntry.socket === socket);

let isNew = true;
entry.subscriptions.forEach(subscription => {
Expand Down Expand Up @@ -3998,7 +3998,7 @@ function socketServer() {
const newEntry = {
subscriptions: [],
socket: socket
}
};
realityEditorObjectMatrixSocketSubscriptions.push(newEntry);
}

Expand Down

0 comments on commit 6bdd3b2

Please sign in to comment.