Skip to content

Commit

Permalink
some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Feb 21, 2017
1 parent 8db23f8 commit 19ecdbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ div
// Child field executed validation
onFieldValidated(res, errors, field) {
// Remove old errors for this field
this.errors = this.errors.filter(e => e.field != field.schema);
// Remove old errors for this field
if (!res && errors && errors.length > 0) {
// Add errors with this field
errors.forEach((err) => {
Expand Down
7 changes: 4 additions & 3 deletions test/unit/webpack.test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ module.exports = {
autoprefixer: {
browsers: ["last 2 versions"]
},
// Comment this, if you would like to debug under `npm run ci`
/*loaders: {

// Comment out this, if you would like to debug under `npm run ci`
loaders: {
js: "isparta"
}*/
}
}

};

0 comments on commit 19ecdbb

Please sign in to comment.