0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-12-22 13:53:48 +01:00

replace let with const

This commit is contained in:
casperlamboo 2016-04-16 18:06:36 +02:00
parent 38f854193e
commit 7ed4183bb8

View File

@ -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 });