Commit defc395e authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by Denys Mishunov

Revert "remove-DOMContentLoaded-clusters-Pages"

This reverts merge request !47799
parent c3f7a9ee
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