Commit 4322d3c2 authored by Mike Greiling's avatar Mike Greiling

update cycle_analytics_bundle to ES module syntax

parent a8b5878b
...@@ -4,18 +4,17 @@ import Vue from 'vue'; ...@@ -4,18 +4,17 @@ import Vue from 'vue';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import Translate from '../vue_shared/translate'; import Translate from '../vue_shared/translate';
import LimitWarningComponent from './components/limit_warning_component'; import LimitWarningComponent from './components/limit_warning_component';
import './components/stage_code_component';
require('./components/stage_code_component'); import './components/stage_issue_component';
require('./components/stage_issue_component'); import './components/stage_plan_component';
require('./components/stage_plan_component'); import './components/stage_production_component';
require('./components/stage_production_component'); import './components/stage_review_component';
require('./components/stage_review_component'); import './components/stage_staging_component';
require('./components/stage_staging_component'); import './components/stage_test_component';
require('./components/stage_test_component'); import './components/total_time_component';
require('./components/total_time_component'); import './cycle_analytics_service';
require('./cycle_analytics_service'); import './cycle_analytics_store';
require('./cycle_analytics_store'); import './default_event_objects';
require('./default_event_objects');
Vue.use(Translate); Vue.use(Translate);
......
/* eslint-disable no-param-reassign */ /* eslint-disable no-param-reassign */
import { __ } from '../locale';
require('../lib/utils/text_utility'); import { __ } from '../locale';
const DEFAULT_EVENT_OBJECTS = require('./default_event_objects'); import '../lib/utils/text_utility';
import DEFAULT_EVENT_OBJECTS from './default_event_objects';
const global = window.gl || (window.gl = {}); const global = window.gl || (window.gl = {});
global.cycleAnalytics = global.cycleAnalytics || {}; global.cycleAnalytics = global.cycleAnalytics || {};
......
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