Commit a09d14e8 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'revert-ecb97163' into 'master'

Revert "Merge branch 'remove-DOMContentLoaded-clusters-Pages' into 'master'"

See merge request gitlab-org/gitlab!47992
parents 129539e0 defc395e
import ClustersBundle from '~/clusters/clusters_bundle';
new ClustersBundle(); // eslint-disable-line no-new
document.addEventListener('DOMContentLoaded', () => {
new ClustersBundle(); // eslint-disable-line no-new
});
import ClustersBundle from '~/clusters/clusters_bundle';
new ClustersBundle(); // eslint-disable-line no-new
document.addEventListener('DOMContentLoaded', () => {
new ClustersBundle(); // eslint-disable-line no-new
});
import initCreateCluster from '~/create_cluster/init_create_cluster';
import initIntegrationForm from '~/clusters/forms/show/index';
initCreateCluster(document, gon);
initIntegrationForm();
document.addEventListener('DOMContentLoaded', () => {
initCreateCluster(document, gon);
initIntegrationForm();
});
import PersistentUserCallout from '~/persistent_user_callout';
import initClustersListApp from '~/clusters_list';
const callout = document.querySelector('.gcp-signup-offer');
PersistentUserCallout.factory(callout);
initClustersListApp();
document.addEventListener('DOMContentLoaded', () => {
const callout = document.querySelector('.gcp-signup-offer');
PersistentUserCallout.factory(callout);
initClustersListApp();
});
import initNewCluster from '~/clusters/new_cluster';
initNewCluster();
document.addEventListener('DOMContentLoaded', () => {
initNewCluster();
});
import ClustersBundle from '~/clusters/clusters_bundle';
import initClusterHealth from '~/pages/projects/clusters/show/cluster_health';
new ClustersBundle(); // eslint-disable-line no-new
initClusterHealth();
document.addEventListener('DOMContentLoaded', () => {
new ClustersBundle(); // eslint-disable-line no-new
initClusterHealth();
});
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