« get me outta code hell

Let-const nitpicks - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/ui/HorizontalBox.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-05-31 00:00:45 -0300
committerFlorrie <towerofnix@gmail.com>2018-05-31 00:00:45 -0300
commitf2676294c95695e2de3a7fb88eafae76d6827618 (patch)
treedf80695b3e35bda8e40f5dccc7f21fb8875e7f76 /ui/HorizontalBox.js
parent553bbf486e043f206bb8f2c92c943fd688f8fedc (diff)
Let-const nitpicks
Diffstat (limited to 'ui/HorizontalBox.js')
-rw-r--r--ui/HorizontalBox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/HorizontalBox.js b/ui/HorizontalBox.js
index fd43f8e..f92bf10 100644
--- a/ui/HorizontalBox.js
+++ b/ui/HorizontalBox.js
@@ -5,7 +5,7 @@ module.exports = class HorizontalBox extends DisplayElement {
 
   fixLayout() {
     let nextX = 0
-    for (let child of this.children) {
+    for (const child of this.children) {
       child.x = nextX
       nextX = child.right + 1
     }