I don't use in my AngularJS app neither AMD nor Require so I just include moment.js. And after the validate.js is included. Still, I get "Neither XDate or moment.js was found" error.
This is where the problem is - line 659 (v. 0.3.2):
var moment = v.tryRequire("moment");
It returns null. But the global scope moment is defined.
The text was updated successfully, but these errors were encountered:
I don't use in my AngularJS app neither AMD nor Require so I just include moment.js. And after the validate.js is included. Still, I get "Neither XDate or moment.js was found" error.
This is where the problem is - line 659 (v. 0.3.2):
var moment = v.tryRequire("moment");
It returns null. But the global scope moment is defined.
Reply to this email directly or view it on GitHub: #18
I don't use in my AngularJS app neither AMD nor Require so I just include moment.js. And after the validate.js is included. Still, I get "Neither XDate or moment.js was found" error.
This is where the problem is - line 659 (v. 0.3.2):
var moment = v.tryRequire("moment");
It returns null. But the global scope moment is defined.
The text was updated successfully, but these errors were encountered: