BigW Consortium Gitlab

Commit 12a0d5a2 by Filipa Lacerda

Use harmony syntax instead of cjs

parent 5a3b2f83
......@@ -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; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment