source: imaps-frontend/node_modules/ajv/lib/dot/_limitItems.jst

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 353 bytes
Line 
1{{# def.definitions }}
2{{# def.errors }}
3{{# def.setupKeyword }}
4{{# def.$data }}
5
6{{# def.numberKeyword }}
7
8{{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
9if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
10 {{ var $errorKeyword = $keyword; }}
11 {{# def.error:'_limitItems' }}
12} {{? $breakOnError }} else { {{?}}
Note: See TracBrowser for help on using the repository browser.