diff options
| author | Shyam Seshadri | 2010-06-16 10:32:56 -0700 |
|---|---|---|
| committer | Shyam Seshadri | 2010-06-16 10:32:56 -0700 |
| commit | 769b26b79eb26076c218cb5b57179ee98424bbd7 (patch) | |
| tree | affc0a834a4307bc90a97f4b776d249f0508def2 /src/validators.js | |
| parent | bbb45a7eed5264a343c191f3abfbe6f6b5d51139 (diff) | |
| download | angular.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.js | 2 |
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)) { |
