diff options
Diffstat (limited to 'app/assets/javascripts/pages/projects')
-rw-r--r-- | app/assets/javascripts/pages/projects/import/jira/index.js | 3 | ||||
-rw-r--r-- | app/assets/javascripts/pages/projects/static_site_editor/show/index.js | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/projects/import/jira/index.js b/app/assets/javascripts/pages/projects/import/jira/index.js new file mode 100644 index 00000000000..cb7a7bde55d --- /dev/null +++ b/app/assets/javascripts/pages/projects/import/jira/index.js @@ -0,0 +1,3 @@ +import mountJiraImportApp from '~/jira_import'; + +document.addEventListener('DOMContentLoaded', mountJiraImportApp); diff --git a/app/assets/javascripts/pages/projects/static_site_editor/show/index.js b/app/assets/javascripts/pages/projects/static_site_editor/show/index.js new file mode 100644 index 00000000000..8f808dae56c --- /dev/null +++ b/app/assets/javascripts/pages/projects/static_site_editor/show/index.js @@ -0,0 +1,5 @@ +import initStaticSiteEditor from '~/static_site_editor'; + +window.addEventListener('DOMContentLoaded', () => { + initStaticSiteEditor(document.querySelector('#static-site-editor')); +}); |