| Server IP : 217.160.0.212 / Your IP : 216.73.217.99 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/node_modules/ajv/lib/dotjs/ |
Upload File : |
'use strict';
module.exports = function generate_comment(it, $keyword, $ruleType) {
var out=' '; var $schema = it.schema[$keyword]; var $errSchemaPath = it.errSchemaPath + '/' + $keyword; var $breakOnError = !it.opts.allErrors; var $comment = it.util.toQuotedString($schema); if(it.opts.$comment === true){out+=' console.log('+($comment)+');';}else if(typeof it.opts.$comment == 'function'){out+=' self._opts.$comment('+($comment)+', '+(it.util.toQuotedString($errSchemaPath))+', validate.root.schema);';}return out;
}