diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-04-06 13:12:21 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-06 13:12:21 +0100 |
commit | eb71b5da81ae70592f6dc5dfb6ee83469c97d1bb (patch) | |
tree | 686d343d0c5efa8ea2f197c1e3590fa4b41e3400 /app/assets/javascripts/boards/index.js | |
parent | 41ee09c9a06b41d904977def6e7824928f27596a (diff) | |
download | gitlab-ce-eb71b5da81ae70592f6dc5dfb6ee83469c97d1bb.tar.gz |
Remove modal store and mixins from global scope44224-remove-gl
Diffstat (limited to 'app/assets/javascripts/boards/index.js')
-rw-r--r-- | app/assets/javascripts/boards/index.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/javascripts/boards/index.js b/app/assets/javascripts/boards/index.js index 8b1c14c04ff..a6f8681cfac 100644 --- a/app/assets/javascripts/boards/index.js +++ b/app/assets/javascripts/boards/index.js @@ -17,9 +17,9 @@ import './models/milestone'; import './models/project'; import './models/assignee'; import './stores/boards_store'; -import './stores/modal_store'; +import ModalStore from './stores/modal_store'; import BoardService from './services/board_service'; -import './mixins/modal_mixins'; +import modalMixin from './mixins/modal_mixins'; import './mixins/sortable_default_options'; import './filters/due_date_filters'; import './components/board'; @@ -31,7 +31,6 @@ import '~/vue_shared/vue_resource_interceptor'; // eslint-disable-line import/fi export default () => { const $boardApp = document.getElementById('board-app'); const Store = gl.issueBoards.BoardsStore; - const ModalStore = gl.issueBoards.ModalStore; window.gl = window.gl || {}; @@ -176,7 +175,7 @@ export default () => { gl.IssueBoardsModalAddBtn = new Vue({ el: document.getElementById('js-add-issues-btn'), - mixins: [gl.issueBoards.ModalMixins], + mixins: [modalMixin], data() { return { modal: ModalStore.store, |