require Ajv module instead of Ajv compiled file
This commit is contained in:
parent
7645c09f94
commit
3201824d39
|
@ -1,6 +1,6 @@
|
||||||
var Ajv;
|
var Ajv;
|
||||||
try {
|
try {
|
||||||
Ajv = require('ajv/dist/ajv.bundle.js');
|
Ajv = require('ajv');
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
// no problem... when we need Ajv we will throw a neat exception
|
// no problem... when we need Ajv we will throw a neat exception
|
||||||
|
|
Loading…
Reference in New Issue