Commit 95762d23 authored by Boris Kocherov's avatar Boris Kocherov

tv4: disable resolveRefs() in validateAll() i already do it

parent 288ed9e6
...@@ -535,7 +535,6 @@ ValidatorContext.prototype.reset = function () { ...@@ -535,7 +535,6 @@ ValidatorContext.prototype.reset = function () {
ValidatorContext.prototype.validateAll = function (data, schema, dataPathParts, schemaPathParts, dataPointerPath) { ValidatorContext.prototype.validateAll = function (data, schema, dataPathParts, schemaPathParts, dataPointerPath) {
var topLevel; var topLevel;
schema = this.resolveRefs(schema);
if (!schema) { if (!schema) {
return null; return null;
} else if (schema instanceof ValidationError) { } else if (schema instanceof ValidationError) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment