mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-11-05 04:33:24 +01:00
replace let with const
This commit is contained in:
parent
38f854193e
commit
7ed4183bb8
@ -106,7 +106,7 @@ export default class Doodle3DManager extends EventDispatcher {
|
||||
}
|
||||
|
||||
_removeBox (box) {
|
||||
let index = this.boxes.indexOf(box);
|
||||
const index = this.boxes.indexOf(box);
|
||||
if (index !== -1) {
|
||||
this.boxes.splice(index, 1);
|
||||
this.dispatchEvent({ type: 'boxdisappeared', box });
|
||||
|
Loading…
Reference in New Issue
Block a user