debian-mirror-gitlab/app/assets/javascripts/pages/ide/index.js
2018-10-15 14:42:47 +05:30

9 lines
268 B
JavaScript

import { initIde, resetServiceWorkersPublicPath } from '~/ide/index';
document.addEventListener('DOMContentLoaded', () => {
const ideElement = document.getElementById('ide');
if (ideElement) {
resetServiceWorkersPublicPath();
initIde(ideElement);
}
});