mirror of
https://gitlab.silvrtree.co.uk/martind2000/node-validator.git
synced 2025-01-25 16:06:16 +00:00
Added jshint test and tidied code to pass the test
This commit is contained in:
parent
cdd1af6eaf
commit
290f7aca21
@ -272,6 +272,11 @@ var VALIDATE = new function() {
|
||||
return telnum;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @param params
|
||||
* @returns {string}
|
||||
*/
|
||||
this.validatePhone = function(params) {
|
||||
var uk = params.uk || false;
|
||||
var v = params.number;
|
||||
|
Loading…
Reference in New Issue
Block a user