replace let with const

This commit is contained in:
casperlamboo 2016-04-16 18:06:36 +02:00
parent 38f854193e
commit 7ed4183bb8
1 changed files with 1 additions and 1 deletions

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