From 290f7aca219308dda0b87afd7e33583cabfbb3fc Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Wed, 16 Mar 2016 10:12:39 +0000 Subject: [PATCH] Added jshint test and tidied code to pass the test --- md-validator.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/md-validator.js b/md-validator.js index 639dfc0..1816abb 100644 --- a/md-validator.js +++ b/md-validator.js @@ -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;