Merge branch 'master' into beta
commit
896aa8d08e
|
@ -126,7 +126,7 @@ function compile(schema, _meta) {
|
||||||
function addSchema(schema, key, _skipValidation, _meta) {
|
function addSchema(schema, key, _skipValidation, _meta) {
|
||||||
if (Array.isArray(schema)){
|
if (Array.isArray(schema)){
|
||||||
for (var i=0; i<schema.length; i++) this.addSchema(schema[i], undefined, _skipValidation, _meta);
|
for (var i=0; i<schema.length; i++) this.addSchema(schema[i], undefined, _skipValidation, _meta);
|
||||||
return;
|
return this;
|
||||||
}
|
}
|
||||||
var id = this._getId(schema);
|
var id = this._getId(schema);
|
||||||
if (id !== undefined && typeof id != 'string')
|
if (id !== undefined && typeof id != 'string')
|
||||||
|
|
Loading…
Reference in New Issue