environments_folder_bundle.js 353 Bytes
Newer Older
Filipa Lacerda's avatar
Filipa Lacerda committed
1 2 3 4 5 6 7 8 9 10 11 12 13
const EnvironmentsFolderComponent = require('./environments_folder_view');

$(() => {
  window.gl = window.gl || {};

  if (gl.EnvironmentsListFolderApp) {
    gl.EnvironmentsListFolderApp.$destroy(true);
  }

  gl.EnvironmentsListFolderApp = new EnvironmentsFolderComponent({
    el: document.querySelector('#environments-folder-list-view'),
  });
});