aboutsummaryrefslogtreecommitdiffstats
path: root/src/validators.js
diff options
context:
space:
mode:
authordandoyon2011-07-29 18:42:16 -0700
committerIgor Minar2011-08-18 23:24:08 -0700
commita01cf6d39e30598bb0145e619515c69b6aac09e9 (patch)
tree3098ed2ada9a4be843a2e2a12e8c257e7f7fc32f /src/validators.js
parentf93e9bfa81333654b915ca83294a2d3d357c73a2 (diff)
downloadangular.js-a01cf6d39e30598bb0145e619515c69b6aac09e9.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.";
},
/**