From 1f59a017c8b6f88f4b85f2346a4fe95c32972a58 Mon Sep 17 00:00:00 2001 From: Eva Lok Date: Mon, 22 Feb 2016 13:14:11 -0700 Subject: [PATCH] removed duplicate key in `outOfBoxValidations` --- .../customvalidationtypes/customValidationTypes.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/scripts/directives/customvalidationtypes/customValidationTypes.js b/app/scripts/directives/customvalidationtypes/customValidationTypes.js index ad04ce4..20f547e 100644 --- a/app/scripts/directives/customvalidationtypes/customValidationTypes.js +++ b/app/scripts/directives/customvalidationtypes/customValidationTypes.js @@ -83,14 +83,6 @@ return (/^[a-z]*$/i).test(val); } }, - { - customValidationAttribute: 'validationOnlyAlphabets', - errorMessage: 'Valid characters are: A-Z, a-z', - validateWhileEntering: true, - validator: function (errorMessageElement, val) { - return (/^[a-z]*$/i).test(val); - } - }, { customValidationAttribute: 'validationOneUpperCaseLetter', errorMessage: 'Must contain at least one uppercase letter',