canjs / can-validate-validatejs

Create validator functions using validate.js.
https://canjs.com/doc/can-validate-validatejs.html
MIT License
2 stars 0 forks source link

Export validatejs instance #3

Open Macrofig opened 7 years ago

Macrofig commented 7 years ago

In order to allow the ability to create custom ValidateJS validators, the repo needs to export the ValidateJS instance it uses.

Macrofig commented 7 years ago

Fixed here: https://github.com/canjs/can-validate-validatejs/commit/23000abb36272173d55968ec165a78a5baff0b28 then slightly refactored here: https://github.com/canjs/can-validate-validatejs/commit/44213c869a70e373e6fed7424dbc53804297d4b2