source: imaps-frontend/node_modules/ajv/lib/dot/_limitLength.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: 358 bytes
Line 
1{{# def.definitions }}
2{{# def.errors }}
3{{# def.setupKeyword }}
4{{# def.$data }}
5
6{{# def.numberKeyword }}
7
8{{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
9if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
10 {{ var $errorKeyword = $keyword; }}
11 {{# def.error:'_limitLength' }}
12} {{? $breakOnError }} else { {{?}}
Note: See TracBrowser for help on using the repository browser.