Commit 4a1e552b authored by Boris Kocherov's avatar Boris Kocherov

tv4: schema normalisation and downloading are disabled because already done by us.

parent c3d2e5af
...@@ -489,8 +489,10 @@ ValidatorContext.prototype.addSchema = function (url, schema) { ...@@ -489,8 +489,10 @@ ValidatorContext.prototype.addSchema = function (url, schema) {
} }
this.schemas[url] = schema; this.schemas[url] = schema;
delete this.missingMap[url]; delete this.missingMap[url];
normSchema(schema, url); // schema normalisation and downloading are disabled because already done by us.
this.searchSchemas(schema, url); // and current realisation not support CIRCULAR_REFERENCE
// normSchema(schema, url);
// this.searchSchemas(schema, url);
}; };
ValidatorContext.prototype.getSchemaMap = function () { ValidatorContext.prototype.getSchemaMap = function () {
......
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