summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-03-09 18:39:53 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-03-09 18:39:53 +0000
commit12a0d5a2bca66dc332f160f09a993fef42d356d5 (patch)
treecc7ed76f1016ab810706acb3c6c8ab4f78f73227
parent5a3b2f83b09a58d487a85676563b38008bd2ff86 (diff)
downloadgitlab-ce-12a0d5a2bca66dc332f160f09a993fef42d356d5.tar.gz
Use harmony syntax instead of cjs
-rw-r--r--app/assets/javascripts/merge_request_widget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/merge_request_widget.js b/app/assets/javascripts/merge_request_widget.js
index a80ae128fa4..27d78ec776c 100644
--- a/app/assets/javascripts/merge_request_widget.js
+++ b/app/assets/javascripts/merge_request_widget.js
@@ -3,8 +3,8 @@
/* global notifyPermissions */
/* global merge_request_widget */
-require('./smart_interval');
-const MiniPipelineGraph = require('./mini_pipeline_graph_dropdown').default;
+import './smart_interval';
+import MiniPipelineGraph from './mini_pipeline_graph_dropdown';
((global) => {
var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i += 1) { if (i in this && this[i] === item) return i; } return -1; };