2017-03-14 00:58:26 +00:00
|
|
|
import EnvironmentsComponent from './components/environment';
|
2016-10-14 12:14:18 +00:00
|
|
|
|
2016-11-10 18:58:35 +00:00
|
|
|
$(() => {
|
2016-10-14 12:14:18 +00:00
|
|
|
window.gl = window.gl || {};
|
2016-10-26 15:00:16 +00:00
|
|
|
|
2017-01-05 10:07:34 +00:00
|
|
|
if (gl.EnvironmentsListApp) {
|
|
|
|
gl.EnvironmentsListApp.$destroy(true);
|
2016-10-14 12:14:18 +00:00
|
|
|
}
|
2016-10-26 15:00:16 +00:00
|
|
|
|
2017-02-09 11:52:22 +00:00
|
|
|
gl.EnvironmentsListApp = new EnvironmentsComponent({
|
2016-11-10 18:58:35 +00:00
|
|
|
el: document.querySelector('#environments-list-view'),
|
2016-10-14 12:14:18 +00:00
|
|
|
});
|
2016-10-20 11:09:35 +00:00
|
|
|
});
|