meteor compatibility: error reporting, closes #159
parent
8676a3f62e
commit
d730049184
|
@ -89,7 +89,8 @@ function Ajv(opts) {
|
|||
}
|
||||
|
||||
var valid = v(data);
|
||||
if (v.async) return self._opts.async == '*' ? co(valid) : valid;
|
||||
if (v.async === true)
|
||||
return self._opts.async == '*' ? co(valid) : valid;
|
||||
self.errors = v.errors;
|
||||
return valid;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ajv",
|
||||
"version": "3.8.9",
|
||||
"version": "3.8.10",
|
||||
"description": "Another JSON Schema Validator",
|
||||
"main": "lib/ajv.js",
|
||||
"files": [
|
||||
|
|
Loading…
Reference in New Issue