0
0
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:
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) { _removeBox (box) {
let index = this.boxes.indexOf(box); const index = this.boxes.indexOf(box);
if (index !== -1) { if (index !== -1) {
this.boxes.splice(index, 1); this.boxes.splice(index, 1);
this.dispatchEvent({ type: 'boxdisappeared', box }); this.dispatchEvent({ type: 'boxdisappeared', box });