aboutsummaryrefslogtreecommitdiffstats
path: root/src/validators.js
diff options
context:
space:
mode:
authorShyam Seshadri2010-06-16 10:32:56 -0700
committerShyam Seshadri2010-06-16 10:32:56 -0700
commit769b26b79eb26076c218cb5b57179ee98424bbd7 (patch)
treeaffc0a834a4307bc90a97f4b776d249f0508def2 /src/validators.js
parentbbb45a7eed5264a343c191f3abfbe6f6b5d51139 (diff)
downloadangular.js-769b26b79eb26076c218cb5b57179ee98424bbd7.tar.bz2
Fix bug with validator not triggering when attributes are bound and fix some typos. Add test for bug
Diffstat (limited to 'src/validators.js')
-rw-r--r--src/validators.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validators.js b/src/validators.js
index 81d40264..5c7fc952 100644
--- a/src/validators.js
+++ b/src/validators.js
@@ -1,5 +1,5 @@
foreach({
- 'noop': noop,
+ 'noop': function() { return null; },
'regexp': function(value, regexp, msg) {
if (!value.match(regexp)) {