remove console log in isFree function

This commit is contained in:
Sam Levan 2015-03-19 09:48:54 -07:00
parent 8b8ee72442
commit 7a7f4e71c8

View File

@ -8,7 +8,6 @@ function isFree(email) {
if (typeof email !== 'string') throw new TypeError('email must be a string'); if (typeof email !== 'string') throw new TypeError('email must be a string');
console.log(email); console.log(email);
var domain = tldjs.getDomain(email.split('@').pop()); var domain = tldjs.getDomain(email.split('@').pop());
console.log(domain, free.indexOf(domain));
return free.indexOf(domain) !== -1; return free.indexOf(domain) !== -1;
} }