Skip to content

Commit

Permalink
Merge pull request ajv-validator#22 from filipesilva/patch-1
Browse files Browse the repository at this point in the history
docs: update minimum compatible version and usage.
  • Loading branch information
epoberezkin authored Jan 26, 2018
2 parents d847ec3 + 2b649ca commit bc61807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ See also:

## Usage with Ajv

These keywords are compatible with Ajv version >=4.6.0 and require the option `v5: true`.
These keywords are compatible with Ajv version >=5.1.0-beta.0.

To add these keywords to Ajv instance:

```javascript
var Ajv = require('ajv');
var ajv = new Ajv({ v5: true });
var ajv = new Ajv();
require('ajv-merge-patch')(ajv);
```

Expand Down

0 comments on commit bc61807

Please sign in to comment.