mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	Minor code cleaning
This commit is contained in:
		| @@ -215,7 +215,6 @@ | ||||
|         } | ||||
|  | ||||
|         return Vue.util.extend(data, params || {}); | ||||
| //        return event | ||||
|       }, | ||||
|  | ||||
|       adaptSize () { | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| import Modal from './Modal.vue' | ||||
|  | ||||
| const ModalPlugin = { | ||||
| const Plugin = { | ||||
|   install(Vue, options = {}) { | ||||
|     if (!this.hasOwnProperty("event")) { | ||||
|       this.event = new Vue() | ||||
| @@ -29,4 +29,4 @@ const ModalPlugin = { | ||||
|   } | ||||
| } | ||||
|  | ||||
| export default ModalPlugin | ||||
| export default Plugin | ||||
|   | ||||
		Reference in New Issue
	
	Block a user