From 675fc9bb6ffdabd688f96668e49c939658084003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Lund=C3=A9n?= Date: Thu, 12 Jan 2017 15:39:31 +0100 Subject: [PATCH] Use const instead of var --- src/dat/gui/GUI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index 79908c0..eab04b2 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -1023,7 +1023,7 @@ function add(gui, object, property, params) { } function getLocalStorageHash(gui, key) { - var namespace = localStorage.getItem('dat.gui.namespace') || document.location.href; + const namespace = localStorage.getItem('dat.gui.namespace') || document.location.href; return 'dat.gui.' + namespace + '.' + key; }