Skip to content

Commit

Permalink
single-quotes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul0813 committed Dec 21, 2018
1 parent d98fa50 commit 5756317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/fields/abstractField.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default {
if (!isFunction(this.debouncedValidateFunc)) {
this.debouncedValidateFunc = debounce(
this.validate.bind(this),
objGet(this.schema, 'validateDebounceTime', objGet(this.formOptions, 'validateDebounceTime', 500))
objGet(this.schema, "validateDebounceTime", objGet(this.formOptions, "validateDebounceTime", 500))
);
}
this.debouncedValidateFunc();
Expand All @@ -163,7 +163,7 @@ export default {
}

if (objGet(this.formOptions, "validateAfterChanged", false) === true) {
if (objGet(this.schema, 'validateDebounceTime', objGet(this.formOptions, 'validateDebounceTime', 0)) > 0) {
if (objGet(this.schema, "validateDebounceTime", objGet(this.formOptions, "validateDebounceTime", 0)) > 0) {
this.debouncedValidate();
} else {
this.validate();
Expand Down
2 changes: 1 addition & 1 deletion src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
return {
validateAfterLoad: false,
validateAfterChanged: false,
fieldIdPrefix: '',
fieldIdPrefix: "",
validateAsync: false,
validationErrorClass: "error",
validationSuccessClass: ""
Expand Down

0 comments on commit 5756317

Please sign in to comment.