aboutsummaryrefslogtreecommitdiffstats
path: root/src/validators.js
diff options
context:
space:
mode:
authordandoyon2011-07-29 18:42:16 -0700
committerVojta Jina2011-07-30 16:41:42 +0200
commit1f4b417184ce53af15474de065400f8a686430c5 (patch)
tree3098ed2ada9a4be843a2e2a12e8c257e7f7fc32f /src/validators.js
parent2d8d5aef2918ca0d2503290f86a42701fc98d330 (diff)
downloadangular.js-1f4b417184ce53af15474de065400f8a686430c5.tar.bz2
doc(typos): fix couple of typos in the docs
Minor documentation fixes. Should not be any code changes. One test changed due to dependency on text in documentation.
Diffstat (limited to 'src/validators.js')
-rw-r--r--src/validators.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/validators.js b/src/validators.js
index 9a2a02de..6b54f67a 100644
--- a/src/validators.js
+++ b/src/validators.js
@@ -287,7 +287,8 @@ extend(angularValidator, {
if (value.match(/^\+\d{2,3} (\(\d{1,5}\))?[\d ]+\d$/)) {
return null;
}
- return "Phone number needs to be in 1(987)654-3210 format in North America or +999 (123) 45678 906 internationaly.";
+ return "Phone number needs to be in 1(987)654-3210 format in North America " +
+ "or +999 (123) 45678 906 internationally.";
},
/**