diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-16 23:51:28 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-16 23:51:28 +0300 |
commit | f5ad1dcbf88dc69254fe86be2fd6b20fead308c0 (patch) | |
tree | 920e62776ed2417fb5a95a43a623d1565437f331 /app/assets/javascripts/shortcuts_network.js | |
parent | 0fce2df7b04ab3ec3d529bbc6aff1846a45aa9dc (diff) |
update shortcuts scripts to use ES module syntax
Diffstat (limited to 'app/assets/javascripts/shortcuts_network.js')
-rw-r--r-- | app/assets/javascripts/shortcuts_network.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/shortcuts_network.js b/app/assets/javascripts/shortcuts_network.js index 4c2bf8bf001..cc44082efa9 100644 --- a/app/assets/javascripts/shortcuts_network.js +++ b/app/assets/javascripts/shortcuts_network.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; }, |