Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/ajv/lib/dot/multipleOf.jst')
-rw-r--r--assets/node_modules/ajv/lib/dot/multipleOf.jst20
1 files changed, 0 insertions, 20 deletions
diff --git a/assets/node_modules/ajv/lib/dot/multipleOf.jst b/assets/node_modules/ajv/lib/dot/multipleOf.jst
deleted file mode 100644
index 5f8dd33..0000000
--- a/assets/node_modules/ajv/lib/dot/multipleOf.jst
+++ /dev/null
@@ -1,20 +0,0 @@
-{{# def.definitions }}
-{{# def.errors }}
-{{# def.setupKeyword }}
-{{# def.$data }}
-
-var division{{=$lvl}};
-if ({{?$isData}}
- {{=$schemaValue}} !== undefined && (
- typeof {{=$schemaValue}} != 'number' ||
- {{?}}
- (division{{=$lvl}} = {{=$data}} / {{=$schemaValue}},
- {{? it.opts.multipleOfPrecision }}
- Math.abs(Math.round(division{{=$lvl}}) - division{{=$lvl}}) > 1e-{{=it.opts.multipleOfPrecision}}
- {{??}}
- division{{=$lvl}} !== parseInt(division{{=$lvl}})
- {{?}}
- )
- {{?$isData}} ) {{?}} ) {
- {{# def.error:'multipleOf' }}
-} {{? $breakOnError }} else { {{?}}