summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/ajv/lib/dot/anyOf.jst
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/npm/node_modules/ajv/lib/dot/anyOf.jst')
-rw-r--r--deps/node/deps/npm/node_modules/ajv/lib/dot/anyOf.jst48
1 files changed, 0 insertions, 48 deletions
diff --git a/deps/node/deps/npm/node_modules/ajv/lib/dot/anyOf.jst b/deps/node/deps/npm/node_modules/ajv/lib/dot/anyOf.jst
deleted file mode 100644
index 086cf2b3..00000000
--- a/deps/node/deps/npm/node_modules/ajv/lib/dot/anyOf.jst
+++ /dev/null
@@ -1,48 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.setupNextLevel }}
-
-{{
- var $noEmptySchema = $schema.every(function($sch) {
- return {{# def.nonEmptySchema:$sch }};
- });
-}}
-{{? $noEmptySchema }}
- {{ var $currentBaseId = $it.baseId; }}
- var {{=$errs}} = errors;
- var {{=$valid}} = false;
-
- {{# def.setCompositeRule }}
-
- {{~ $schema:$sch:$i }}
- {{
- $it.schema = $sch;
- $it.schemaPath = $schemaPath + '[' + $i + ']';
- $it.errSchemaPath = $errSchemaPath + '/' + $i;
- }}
-
- {{# def.insertSubschemaCode }}
-
- {{=$valid}} = {{=$valid}} || {{=$nextValid}};
-
- if (!{{=$valid}}) {
- {{ $closingBraces += '}'; }}
- {{~}}
-
- {{# def.resetCompositeRule }}
-
- {{= $closingBraces }}
-
- if (!{{=$valid}}) {
- {{# def.extraError:'anyOf' }}
- } else {
- {{# def.resetErrors }}
- {{? it.opts.allErrors }} } {{?}}
-
- {{# def.cleanUp }}
-{{??}}
- {{? $breakOnError }}
- if (true) {
- {{?}}
-{{?}}