From 7ed4183bb8dfc5c271cbd96c7249cf2853c4bfea Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Sat, 16 Apr 2016 18:06:36 +0200 Subject: [PATCH] replace let with const --- src/doodle3dmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doodle3dmanager.js b/src/doodle3dmanager.js index b289f75..f0cb19f 100644 --- a/src/doodle3dmanager.js +++ b/src/doodle3dmanager.js @@ -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 });