"Fossies" - the Fresh Open Source Software Archive

Member "node-v12.18.4-win-x64/node_modules/npm/node_modules/ajv/lib/dot/_limitProperties.jst" (14 Feb 2020, 360 Bytes) of package /windows/www/node-v12.18.4-win-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {{# def.definitions }}
    2 {{# def.errors }}
    3 {{# def.setupKeyword }}
    4 {{# def.$data }}
    5 
    6 {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
    7 if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
    8   {{ var $errorKeyword = $keyword; }}
    9   {{# def.error:'_limitProperties' }}
   10 } {{? $breakOnError }} else { {{?}}