debian-mirror-gitlab/app/assets/javascripts/pages/ide/index.js

10 lines
268 B
JavaScript
Raw Normal View History

2018-10-15 14:42:47 +05:30
import { initIde, resetServiceWorkersPublicPath } from '~/ide/index';
document.addEventListener('DOMContentLoaded', () => {
const ideElement = document.getElementById('ide');
if (ideElement) {
resetServiceWorkersPublicPath();
initIde(ideElement);
}
});