Skip to content

Commit

Permalink
Change global export name
Browse files Browse the repository at this point in the history
  • Loading branch information
cretueusebiu committed Jan 23, 2017
1 parent e5cdb91 commit 6cfbd3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h5 slot="title">Modal title</h5>
<!-- <script src="../dist/vmodal.js"></script> -->

<script>
Vue.component('modal', window.VModal)
Vue.component('modal', window.vModal)

new Vue({
el: '#app',
Expand Down
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h5 slot="title">Modal title</h5>
<!-- <script src="../dist/vmodal.js"></script> -->

<script>
Vue.component('modal', window.VModal)
Vue.component('modal', window.vModal)

new Vue({
el: '#app',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "vmodal",
"version": "0.1.2",
"version": "0.1.3",
"description": "A Vue component for Bootstrap modals.",
"main": "dist/vmodal.js",
"scripts": {
"build": "vue build src/Modal.vue --prod --lib VModal --webpack=webpack.config.js",
"build": "vue build src/Modal.vue --prod --lib vModal --webpack=webpack.config.js",
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "npm run build"
},
Expand Down

0 comments on commit 6cfbd3c

Please sign in to comment.