docs: fix site

master
Evgeny Poberezkin 2016-08-10 00:27:45 +01:00
parent b42f6c5ee1
commit a1dc7df458
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,7 @@ console.log(validate(3)); // false
Example `range` keyword defined using [doT template](https://github.com/olado/doT): Example `range` keyword defined using [doT template](https://github.com/olado/doT):
```javascript ```javascript
// {% raw %}
var doT = require('dot'); var doT = require('dot');
var inlineRangeTemplate = doT.compile("\ var inlineRangeTemplate = doT.compile("\
{{ \ {{ \
@ -197,6 +198,7 @@ ajv.addKeyword('range', {
additionalItems: false additionalItems: false
} }
}); });
// {% endraw %}
``` ```
`'valid' + it.level` in the example above is the expected name of the variable that should be set to the validation result. `'valid' + it.level` in the example above is the expected name of the variable that should be set to the validation result.