From 783417d566833d4797c057b01cc3be72e6041c15 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 4 Jul 2018 16:05:56 +0200 Subject: [PATCH] do not use unneeded local var --- src/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index 394f7f3b5f..7b5d78ec5b 100644 --- a/src/app.js +++ b/src/app.js @@ -475,9 +475,9 @@ Please make a backup of your contracts and start using http://remix.ethereum.org } // ---------------- FilePanel -------------------- - var filePanel = new FilePanel() - self._view.leftpanel.appendChild(filePanel.render()) - filePanel.event.register('resize', delta => self._adjustLayout('left', delta)) + self._components.filePanel = new FilePanel() + self._view.leftpanel.appendChild(self._components.filePanel.render()) + self._components.filePanel.event.register('resize', delta => self._adjustLayout('left', delta)) // ----------------- Renderer ----------------- var renderer = new Renderer()