main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
522 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | const dynamicAnchor_1 = require("./dynamicAnchor");
|
---|
| 4 | const util_1 = require("../../compile/util");
|
---|
| 5 | const def = {
|
---|
| 6 | keyword: "$recursiveAnchor",
|
---|
| 7 | schemaType: "boolean",
|
---|
| 8 | code(cxt) {
|
---|
| 9 | if (cxt.schema)
|
---|
| 10 | (0, dynamicAnchor_1.dynamicAnchor)(cxt, "");
|
---|
| 11 | else
|
---|
| 12 | (0, util_1.checkStrictMode)(cxt.it, "$recursiveAnchor: false is ignored");
|
---|
| 13 | },
|
---|
| 14 | };
|
---|
| 15 | exports.default = def;
|
---|
| 16 | //# sourceMappingURL=recursiveAnchor.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.