fixed missing schemaPath in type keyword

master
Evgeny Poberezkin 2015-11-29 00:44:25 +00:00
parent 833a234e4f
commit 5ebfb41903
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@
{{? $typeSchema && $typeSchema === $rulesGroup.type }}
{{ var $typeChecked = true; }}
else {
{{ var $schemaPath = it.schemaPath + '.type'; }}
{{# def.error:'type' }}
}
{{?}}

View File

@ -1,6 +1,6 @@
{
"name": "ajv",
"version": "2.1.2",
"version": "2.1.3",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"files": [