source: trip-planner-front/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 512 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const dynamicAnchor_1 = require("./dynamicAnchor");
4const util_1 = require("../../compile/util");
5const def = {
6 keyword: "$recursiveAnchor",
7 schemaType: "boolean",
8 code(cxt) {
9 if (cxt.schema)
10 dynamicAnchor_1.dynamicAnchor(cxt, "");
11 else
12 util_1.checkStrictMode(cxt.it, "$recursiveAnchor: false is ignored");
13 },
14};
15exports.default = def;
16//# sourceMappingURL=recursiveAnchor.js.map
Note: See TracBrowser for help on using the repository browser.