code quality

This commit is contained in:
bkfox
2023-03-13 17:47:00 +01:00
parent 934817da8a
commit 112770eddf
162 changed files with 4798 additions and 4069 deletions

View File

@ -151,7 +151,7 @@ export default class Model {
}
/**
* Return error for a specific attribute name if any
* Return error for a specific attribute name if any
*/
error(attr=null) {
return attr === null ? this.errors : this.errors && this.errors[attr]
@ -283,4 +283,3 @@ export class Set {
Set[Symbol.iterator] = function () {
return this.items[Symbol.iterator]();
}