From bfb9bcbbe48d87f9ef5f567cf5724e0cfefdfa9c Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 21 Mar 2019 15:43:03 -0400 Subject: [PATCH] All vars become consts to prevent redeclaration during this rewrite (and they should be that anyway) --- app/lib/ui/devices.js | 2 +- app/lib/ui/light.js | 2 +- app/lib/ui/log.js | 2 +- app/lib/ui/mscript.js | 2 +- app/lib/ui/nav.js | 2 +- app/lib/ui/proj.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/lib/ui/devices.js b/app/lib/ui/devices.js index eab5751..a5c1446 100644 --- a/app/lib/ui/devices.js +++ b/app/lib/ui/devices.js @@ -1,4 +1,4 @@ -var devices = {}; +const devices = {}; devices.init = function () { 'use strict'; diff --git a/app/lib/ui/light.js b/app/lib/ui/light.js index af476c1..03f6822 100644 --- a/app/lib/ui/light.js +++ b/app/lib/ui/light.js @@ -1,4 +1,4 @@ -var light = {}; +const light = {}; //LIGHT light.preview_state = false; //light is on/off for preview viewing diff --git a/app/lib/ui/log.js b/app/lib/ui/log.js index 110625a..3314ddc 100644 --- a/app/lib/ui/log.js +++ b/app/lib/ui/log.js @@ -1,4 +1,4 @@ -var log = {}; +const log = {}; log.time = 'MM/DD/YY-HH:mm:ss'; log.count = 0; diff --git a/app/lib/ui/mscript.js b/app/lib/ui/mscript.js index 9283ab1..a17e5d6 100644 --- a/app/lib/ui/mscript.js +++ b/app/lib/ui/mscript.js @@ -1,4 +1,4 @@ -var mse = {}; +const mse = {}; /****** Mscript GUI diff --git a/app/lib/ui/nav.js b/app/lib/ui/nav.js index 20b6b83..4848ad4 100644 --- a/app/lib/ui/nav.js +++ b/app/lib/ui/nav.js @@ -1,4 +1,4 @@ -var nav = {}; +const nav = {}; //NAV nav.active = 'sequencer'; diff --git a/app/lib/ui/proj.js b/app/lib/ui/proj.js index fe4a6e2..f6a1565 100644 --- a/app/lib/ui/proj.js +++ b/app/lib/ui/proj.js @@ -1,4 +1,4 @@ -var proj = {}; +const proj = {}; proj.queue = {}; proj.lock = false;