From 1c252bd8591f4fe8b539d4e1ef67cf9f338b13c8 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 1 Feb 2018 19:39:21 +0100 Subject: [PATCH] refactor file-explorer --- src/app/files/file-explorer.js | 131 ++++----------------------------- 1 file changed, 14 insertions(+), 117 deletions(-) diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 22789cd683..563f3c8da0 100755 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -54,6 +54,7 @@ var css = csjs` module.exports = fileExplorer var focusElement = null +var focusPath = null function fileExplorer (appAPI, files) { var self = this @@ -108,8 +109,6 @@ function fileExplorer (appAPI, files) { return yo`