summaryrefslogtreecommitdiff
path: root/node_modules/ajv/lib/dot/comment.jst
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/ajv/lib/dot/comment.jst')
-rw-r--r--node_modules/ajv/lib/dot/comment.jst9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/ajv/lib/dot/comment.jst b/node_modules/ajv/lib/dot/comment.jst
new file mode 100644
index 0000000..f959150
--- /dev/null
+++ b/node_modules/ajv/lib/dot/comment.jst
@@ -0,0 +1,9 @@
+{{# def.definitions }}
+{{# def.setupKeyword }}
+
+{{ var $comment = it.util.toQuotedString($schema); }}
+{{? it.opts.$comment === true }}
+ console.log({{=$comment}});
+{{?? typeof it.opts.$comment == 'function' }}
+ self._opts.$comment({{=$comment}}, {{=it.util.toQuotedString($errSchemaPath)}}, validate.root.schema);
+{{?}}