Commit Graph

6 Commits

Author SHA1 Message Date
Martin Donnelly
fdfb9bc71b Updated phone validator to return empty for null or undefined objects 2016-03-18 11:44:15 +00:00
Martin Donnelly
7100cf5ed2 Modified validatePhone to accept a string or an object. If it is a string, it handles it as a UK phone number. 2016-03-16 11:04:34 +00:00
Martin Donnelly
37f9f30dc2 Restructured folders 2016-03-16 10:40:27 +00:00
Martin Donnelly
cdd1af6eaf Added jshint test and tidied code to pass the test 2016-03-16 10:07:43 +00:00
Martin Donnelly
78f09a300c Added general phone number validator. 2016-03-15 17:34:51 +00:00
Martin Donnelly
ae5ef44174 Initial upload 2016-03-11 09:49:35 +00:00