mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
{{# def.definitions }}
|
|
{{# def.errors }}
|
|
{{# def.setupKeyword }}
|
|
{{# def.$data }}
|
|
|
|
{{# def.numberKeyword }}
|
|
|
|
{{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
|
|
if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
|
|
{{ var $errorKeyword = $keyword; }}
|
|
{{# def.error:'_limitLength' }}
|
|
} {{? $breakOnError }} else { {{?}}
|