Cleanup
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
626ca81022
commit
b84c4e281e
11 changed files with 58 additions and 51 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* jshint esversion: 6 */
|
||||
// we need our modal component
|
||||
import ModalDialog from './modalDialog.vue'
|
||||
import ModalDialog from './ModalDialog'
|
||||
|
||||
const Modal = {
|
||||
// every plugin for Vue.js needs install method
|
||||
|
|
@ -12,7 +12,7 @@ const Modal = {
|
|||
this.EventBus = new Vue()
|
||||
|
||||
// making our modal component global
|
||||
Vue.component('modal-dialog', ModalDialog)
|
||||
Vue.component('ModalDialog', ModalDialog)
|
||||
|
||||
// exposing global $modal object with method show()
|
||||
// method show() takes object params as argument
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue