Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-05-16 23:51:28 +0300
committerMike Greiling <mike@pixelcog.com>2017-05-16 23:51:28 +0300
commitf5ad1dcbf88dc69254fe86be2fd6b20fead308c0 (patch)
tree920e62776ed2417fb5a95a43a623d1565437f331 /app/assets/javascripts/shortcuts_find_file.js
parent0fce2df7b04ab3ec3d529bbc6aff1846a45aa9dc (diff)
update shortcuts scripts to use ES module syntax
Diffstat (limited to 'app/assets/javascripts/shortcuts_find_file.js')
-rw-r--r--app/assets/javascripts/shortcuts_find_file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/shortcuts_find_file.js b/app/assets/javascripts/shortcuts_find_file.js
index a27ac264a5c..b18b6139b35 100644
--- a/app/assets/javascripts/shortcuts_find_file.js
+++ b/app/assets/javascripts/shortcuts_find_file.js
@@ -2,7 +2,7 @@
/* global Mousetrap */
/* global ShortcutsNavigation */
-require('./shortcuts_navigation');
+import './shortcuts_navigation';
(function() {
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },