summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/v5/constant.jst
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/v5/constant.jst')
-rw-r--r--deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/v5/constant.jst10
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/v5/constant.jst b/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/v5/constant.jst
new file mode 100644
index 0000000000..67969c1b9f
--- /dev/null
+++ b/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/v5/constant.jst
@@ -0,0 +1,10 @@
+{{# def.definitions }}
+{{# def.errors }}
+{{# def.setupKeyword }}
+{{# def.$data }}
+
+{{? !$isData }}
+ var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
+{{?}}
+var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
+{{# def.checkError:'constant' }}