Commit 1901db39 authored by Boris Kocherov's avatar Boris Kocherov

take in account schema can be boolean in metaSchema detection function

parent 3b94b6aa
...@@ -831,6 +831,9 @@ ...@@ -831,6 +831,9 @@
} }
function checkSchemaIsMetaSchema(schema) { function checkSchemaIsMetaSchema(schema) {
if (!schema) {
return false;
}
if (schema instanceof Array) { if (schema instanceof Array) {
var i, var i,
sch; sch;
......
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