docs: js syntax highlight

master
Evgeny Poberezkin 2019-02-02 19:29:14 +00:00
parent 4031b6ac04
commit a9e03c5916
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ __Please note__: The suggestions above to prevent slow validation would only wor
You can validate your JSON schemas against [this meta-schema](https://github.com/epoberezkin/ajv/blob/master/lib/refs/json-schema-secure.json) to check that these recommendations are followed:
```
```javascript
const isSchemaSecure = ajv.compile(require('ajv/lib/refs/json-schema-secure.json'));
const schema1 = {format: 'email'};