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

7 lines
190 B
JavaScript
Raw Normal View History

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