summaryrefslogtreecommitdiff
path: root/spec/javascripts/zen_mode_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-06-30 16:37:31 -0500
committerMike Greiling <mike@pixelcog.com>2017-07-06 10:10:01 -0500
commit5d342378543d55e59e0785351f539fca74749563 (patch)
treea0279fd9d0bdae2784e1fe46578ad5891159bac2 /spec/javascripts/zen_mode_spec.js
parent3b32313cceee02c084cdf7fcde2ea4ad0a416512 (diff)
downloadgitlab-ce-5d342378543d55e59e0785351f539fca74749563.tar.gz
refactor ZenMode to ES module syntax
Diffstat (limited to 'spec/javascripts/zen_mode_spec.js')
-rw-r--r--spec/javascripts/zen_mode_spec.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/javascripts/zen_mode_spec.js b/spec/javascripts/zen_mode_spec.js
index 4399c8b2025..a225b04c47e 100644
--- a/spec/javascripts/zen_mode_spec.js
+++ b/spec/javascripts/zen_mode_spec.js
@@ -1,9 +1,8 @@
/* eslint-disable space-before-function-paren, no-var, one-var, one-var-declaration-per-line, object-shorthand, comma-dangle, no-return-assign, new-cap, max-len */
/* global Dropzone */
/* global Mousetrap */
-/* global ZenMode */
-import '~/zen_mode';
+import ZenMode from '~/zen_mode';
(function() {
var enterZen, escapeKeydown, exitZen;