Skip to content

Commit

Permalink
do not use unneeded local var
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Jul 4, 2018
1 parent c7c5c7d commit 6c458a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6c458a1

Please sign in to comment.