mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-03 13:19:29 +08:00
16 lines
No EOL
522 B
Text
16 lines
No EOL
522 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const dynamicAnchor_1 = require("./dynamicAnchor");
|
|
const util_1 = require("../../compile/util");
|
|
const def = {
|
|
keyword: "$recursiveAnchor",
|
|
schemaType: "boolean",
|
|
code(cxt) {
|
|
if (cxt.schema)
|
|
(0, dynamicAnchor_1.dynamicAnchor)(cxt, "");
|
|
else
|
|
(0, util_1.checkStrictMode)(cxt.it, "$recursiveAnchor: false is ignored");
|
|
},
|
|
};
|
|
exports.default = def;
|
|
//# sourceMappingURL=recursiveAnchor.js.map |