gitlab-org--gitlab-foss/app/assets/javascripts/sourcegraph/load.js

6 lines
190 B
JavaScript

import initSourcegraph from './index';
/**
* Load sourcegraph in it's own listener so that it's isolated from failures.
*/
document.addEventListener('DOMContentLoaded', initSourcegraph);