Skip to content

Commit

Permalink
remove unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Feb 10, 2017
1 parent 3e8d1a1 commit ce999d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/fields/abstractField.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Vue from "vue";
import { get as objGet, set as objSet, each, isFunction, isString, isArray, isUndefined } from "lodash";

export default {
Expand Down
3 changes: 1 addition & 2 deletions src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ div
},
modelUpdated(newVal, schema){
// console.log("a child model has updated", newVal, schema);
this.model[schema] = newVal;
this.$emit("model-updated", this.model[schema], schema);
this.$emit("model-updated", newVal, schema);
},
buttonVisibility(field) {
return field.buttons && field.buttons.length > 0;
Expand Down

0 comments on commit ce999d0

Please sign in to comment.