Spaces:
Sleeping
Sleeping
Download src/node_modules/ajv/lib/dot/pattern.jst from PierreRouanet/gstreamer_test: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/PierreRouanet/gstreamer_test/resolve/main/src/node_modules/ajv/lib/dot/pattern.jst
- Command line
-
hf download hf://spaces/PierreRouanet/gstreamer_test/src/node_modules/ajv/lib/dot/pattern.jst
-
curl -L -o pattern.jst https://huggingface.co/spaces/PierreRouanet/gstreamer_test/resolve/main/src/node_modules/ajv/lib/dot/pattern.jst
348 Bytes
| {{# def.definitions }} | |
| {{# def.errors }} | |
| {{# def.setupKeyword }} | |
| {{# def.$data }} | |
| {{ | |
| var $regexp = $isData | |
| ? '(new RegExp(' + $schemaValue + '))' | |
| : it.usePattern($schema); | |
| }} | |
| if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) { | |
| {{# def.error:'pattern' }} | |
| } {{? $breakOnError }} else { {{?}} | |