1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 04:40:05 +02:00
Files
gitlit/app/node_modules/ajv/lib/dot/_limitLength.jst
2018-06-03 13:57:23 +02:00

11 lines
332 B
Plaintext

{{# def.definitions }}
{{# def.errors }}
{{# def.setupKeyword }}
{{# def.$data }}
{{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
{{ var $errorKeyword = $keyword; }}
{{# def.error:'_limitLength' }}
} {{? $breakOnError }} else { {{?}}