Skip to content

Commit

Permalink
removed console.log and fixed quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul0813 committed Dec 5, 2017
1 parent c86d7dc commit 025b541
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/fields/abstractField.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export default {

methods: {
validate(calledParent) {
console.log('validating', performance.now());
this.clearValidationErrors();

if (this.schema.validator && this.schema.readonly !== true && this.disabled !== true) {
Expand Down Expand Up @@ -131,10 +130,8 @@ export default {
},
debouncedValidate() {
if(!isFunction(this.debouncedValidateFunc)) {
console.log('debouncedValidate', 'config', objGet(this, '$parent.optionsvalidateDebounceTime', 500));
this.debouncedValidateFunc = debounce(this.validate.bind(this), objGet(this, '$parent.options.validateDebounceTime', 500));
this.debouncedValidateFunc = debounce(this.validate.bind(this), objGet(this, "$parent.options.validateDebounceTime", 500));
}
console.log('debouncedValidate', performance.now());
this.debouncedValidateFunc();
},
clearValidationErrors() {
Expand Down

0 comments on commit 025b541

Please sign in to comment.