gitlab-org--gitlab-foss/app/assets/javascripts/environments/environments_bundle.js.es6
2017-02-17 16:52:48 +00:00

13 lines
314 B
JavaScript

const EnvironmentsComponent = require('./components/environment');
$(() => {
window.gl = window.gl || {};
if (gl.EnvironmentsListApp) {
gl.EnvironmentsListApp.$destroy(true);
}
gl.EnvironmentsListApp = new EnvironmentsComponent({
el: document.querySelector('#environments-list-view'),
});
});