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:
446 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | const util_1 = require("../../compile/util");
|
---|
| 4 | const def = {
|
---|
| 5 | keyword: ["then", "else"],
|
---|
| 6 | schemaType: ["object", "boolean"],
|
---|
| 7 | code({ keyword, parentSchema, it }) {
|
---|
| 8 | if (parentSchema.if === undefined)
|
---|
| 9 | (0, util_1.checkStrictMode)(it, `"${keyword}" without "if" is ignored`);
|
---|
| 10 | },
|
---|
| 11 | };
|
---|
| 12 | exports.default = def;
|
---|
| 13 | //# sourceMappingURL=thenElse.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.