update boards_bundle to ES module syntax
This commit is contained in:
parent
ba44ca13ea
commit
a8b5878bfe
7 changed files with 25 additions and 33 deletions
|
@ -6,23 +6,22 @@ import Vue from 'vue';
|
||||||
import VueResource from 'vue-resource';
|
import VueResource from 'vue-resource';
|
||||||
import FilteredSearchBoards from './filtered_search_boards';
|
import FilteredSearchBoards from './filtered_search_boards';
|
||||||
import eventHub from './eventhub';
|
import eventHub from './eventhub';
|
||||||
|
import './models/issue';
|
||||||
require('./models/issue');
|
import './models/label';
|
||||||
require('./models/label');
|
import './models/list';
|
||||||
require('./models/list');
|
import './models/milestone';
|
||||||
require('./models/milestone');
|
import './models/assignee';
|
||||||
require('./models/assignee');
|
import './stores/boards_store';
|
||||||
require('./stores/boards_store');
|
import './stores/modal_store';
|
||||||
require('./stores/modal_store');
|
import './services/board_service';
|
||||||
require('./services/board_service');
|
import './mixins/modal_mixins';
|
||||||
require('./mixins/modal_mixins');
|
import './mixins/sortable_default_options';
|
||||||
require('./mixins/sortable_default_options');
|
import './filters/due_date_filters';
|
||||||
require('./filters/due_date_filters');
|
import './components/board';
|
||||||
require('./components/board');
|
import './components/board_sidebar';
|
||||||
require('./components/board_sidebar');
|
import './components/new_list_dropdown';
|
||||||
require('./components/new_list_dropdown');
|
import './components/modal/index';
|
||||||
require('./components/modal/index');
|
import '../vue_shared/vue_resource_interceptor';
|
||||||
require('../vue_shared/vue_resource_interceptor');
|
|
||||||
|
|
||||||
Vue.use(VueResource);
|
Vue.use(VueResource);
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import boardList from './board_list';
|
import boardList from './board_list';
|
||||||
import boardBlankState from './board_blank_state';
|
import boardBlankState from './board_blank_state';
|
||||||
|
import './board_delete';
|
||||||
require('./board_delete');
|
|
||||||
require('./board_list');
|
|
||||||
|
|
||||||
const Store = gl.issueBoards.BoardsStore;
|
const Store = gl.issueBoards.BoardsStore;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require('./issue_card_inner');
|
import './issue_card_inner';
|
||||||
|
|
||||||
const Store = gl.issueBoards.BoardsStore;
|
const Store = gl.issueBoards.BoardsStore;
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,9 @@
|
||||||
|
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import eventHub from '../../sidebar/event_hub';
|
import eventHub from '../../sidebar/event_hub';
|
||||||
|
|
||||||
import AssigneeTitle from '../../sidebar/components/assignees/assignee_title';
|
import AssigneeTitle from '../../sidebar/components/assignees/assignee_title';
|
||||||
import Assignees from '../../sidebar/components/assignees/assignees';
|
import Assignees from '../../sidebar/components/assignees/assignees';
|
||||||
|
import './sidebar/remove_issue';
|
||||||
require('./sidebar/remove_issue');
|
|
||||||
|
|
||||||
const Store = gl.issueBoards.BoardsStore;
|
const Store = gl.issueBoards.BoardsStore;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
/* global Flash */
|
/* global Flash */
|
||||||
|
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
import './lists_dropdown';
|
||||||
require('./lists_dropdown');
|
|
||||||
|
|
||||||
const ModalStore = gl.issueBoards.ModalStore;
|
const ModalStore = gl.issueBoards.ModalStore;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import modalFilters from './filters';
|
import modalFilters from './filters';
|
||||||
|
import './tabs';
|
||||||
require('./tabs');
|
|
||||||
|
|
||||||
const ModalStore = gl.issueBoards.ModalStore;
|
const ModalStore = gl.issueBoards.ModalStore;
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,10 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import queryData from '../../utils/query_data';
|
import queryData from '../../utils/query_data';
|
||||||
import loadingIcon from '../../../vue_shared/components/loading_icon.vue';
|
import loadingIcon from '../../../vue_shared/components/loading_icon.vue';
|
||||||
|
import './header';
|
||||||
require('./header');
|
import './list';
|
||||||
require('./list');
|
import './footer';
|
||||||
require('./footer');
|
import './empty_state';
|
||||||
require('./empty_state');
|
|
||||||
|
|
||||||
const ModalStore = gl.issueBoards.ModalStore;
|
const ModalStore = gl.issueBoards.ModalStore;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue