summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/tree.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/tree.js')
-rw-r--r--app/assets/javascripts/tree.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/tree.js b/app/assets/javascripts/tree.js
index 1f1fc155fcd..7777ed1c3dc 100644
--- a/app/assets/javascripts/tree.js
+++ b/app/assets/javascripts/tree.js
@@ -1,6 +1,6 @@
/* eslint-disable func-names, space-before-function-paren, wrap-iife, max-len, quotes, consistent-return, no-var, one-var, one-var-declaration-per-line, no-else-return, prefer-arrow-callback, class-methods-use-this */
-class TreeView {
+export default class TreeView {
constructor() {
this.initKeyNav();
// Code browser tree slider
@@ -62,5 +62,3 @@ class TreeView {
});
}
}
-
-window.TreeView = TreeView;