New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid check? #4
Comments
Getting this same issue :{ "cannot call method 'split' of undefined" |
@thoughtpalette that's different - it means |
Whoops, My bad. Was just putting it in my front-end rec without actually passing the email id. Thanks though! |
Seems like var a = [null, null, null]
a < 2 // false
var b = [null]
b < 2 // true |
erm.
also, I get:
but
it's not the same as length. hence it's unsafe. i think it does |
Thanks! Fixed by: 0f18d2f |
https://github.com/Kicksend/mailcheck/blob/master/src/jquery.mailcheck.js#L21-22
what exactly are you testing for here? parts is going to be an array, should test
parts.length
- this will only fail on a falsy array... or if the email string is '1' or something.The text was updated successfully, but these errors were encountered: