debian-mirror-gitlab/app/assets/javascripts/pages/shared/wikis/async_edit.js

12 lines
285 B
JavaScript
Raw Normal View History

2021-11-18 22:05:49 +05:30
export const mountApplications = async () => {
const el = document.querySelector('.js-wiki-edit-page');
if (el) {
const { mountApplications: mountEditApplications } = await import(
/* webpackChunkName: 'wiki_edit' */ './edit'
);
mountEditApplications();
}
};