mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 10:37:25 -04:00
11 lines
249 B
Plaintext
11 lines
249 B
Plaintext
|
{{# def.definitions }}
|
||
|
{{# def.errors }}
|
||
|
{{# def.setupKeyword }}
|
||
|
{{# def.$data }}
|
||
|
|
||
|
{{? !$isData }}
|
||
|
var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
|
||
|
{{?}}
|
||
|
var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
|
||
|
{{# def.checkError:'constant' }}
|