Skip to content

Commit

Permalink
emit saved instead of calling the export method
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Sep 9, 2017
1 parent 51c1d49 commit c9dece6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dist/builder.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Builder v0.0.4
* Builder v0.0.5
* (c) 2017 Abdelrahman Ismail
* @license MIT
*/
Expand Down Expand Up @@ -3837,7 +3837,7 @@ var BuilderComponent = {render: function(){var _vm=this;var _h=_vm.$createElemen
this.$builder.isEditing = !this.$builder.isEditing;
},
submit: function submit () {
this.$builder.export('zip');
this.$emit('saved', this.$builder);
}
},
mounted: function mounted () {
Expand Down Expand Up @@ -6674,7 +6674,7 @@ if (typeof Vue !== 'undefined') {
Vue.use(Builder);
}

Builder.version = '0.0.4';
Builder.version = '0.0.5';
Builder.types = types;

return Builder;
Expand Down
2 changes: 1 addition & 1 deletion dist/builder.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/js/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/js/vendor.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@baianat/builder",
"version": "0.0.4",
"version": "0.0.5",
"description": "Dolober Builder",
"author": "Abdelrahman Ismail <[email protected]>",
"unpkg": "dist/builder.min.js",
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default {
this.$builder.isEditing = !this.$builder.isEditing;
},
submit () {
this.$builder.export('zip');
this.$emit('saved', this.$builder);
}
},
mounted () {
Expand Down

0 comments on commit c9dece6

Please sign in to comment.