Commit 98a943b8 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '216978-move-ci-minutes-javascript-loading-to-ee' into 'master'

Resolve "Move ci minutes javascript loading to ee"

Closes #216978

See merge request gitlab-org/gitlab!31364
parents 56f2d758 c514ef99
...@@ -10,7 +10,6 @@ import { __ } from '~/locale'; ...@@ -10,7 +10,6 @@ import { __ } from '~/locale';
import PipelinesStore from '../../../../pipelines/stores/pipelines_store'; import PipelinesStore from '../../../../pipelines/stores/pipelines_store';
import pipelinesComponent from '../../../../pipelines/components/pipelines.vue'; import pipelinesComponent from '../../../../pipelines/components/pipelines.vue';
import Translate from '../../../../vue_shared/translate'; import Translate from '../../../../vue_shared/translate';
import initVueAlerts from '../../../../vue_alerts';
Vue.use(Translate); Vue.use(Translate);
Vue.use(GlToast); Vue.use(GlToast);
...@@ -57,5 +56,3 @@ document.addEventListener( ...@@ -57,5 +56,3 @@ document.addEventListener(
}, },
}), }),
); );
document.addEventListener('DOMContentLoaded', initVueAlerts);
...@@ -12,10 +12,8 @@ import initReadMore from '~/read_more'; ...@@ -12,10 +12,8 @@ import initReadMore from '~/read_more';
import leaveByUrl from '~/namespaces/leave_by_url'; import leaveByUrl from '~/namespaces/leave_by_url';
import Star from '../../../star'; import Star from '../../../star';
import notificationsDropdown from '../../../notifications_dropdown'; import notificationsDropdown from '../../../notifications_dropdown';
import initVueAlerts from '../../../vue_alerts';
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
initVueAlerts();
initReadMore(); initReadMore();
new Star(); // eslint-disable-line no-new new Star(); // eslint-disable-line no-new
notificationsDropdown(); notificationsDropdown();
......
import '~/pages/projects/pipelines/index/index';
import initVueAlerts from '~/vue_alerts';
document.addEventListener('DOMContentLoaded', initVueAlerts);
import '~/pages/projects/show/index'; import '~/pages/projects/show/index';
import initVueAlerts from '~/vue_alerts';
document.addEventListener('DOMContentLoaded', initVueAlerts);
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