aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/select.js
diff options
context:
space:
mode:
authorArlen Christian Mart Cuss2013-03-18 19:25:36 +1100
committerJames deBoer2013-03-20 11:45:42 -0700
commit949775784237e8354baf1aeb417ce47d2a797b9c (patch)
tree8461b47b40cf2ff0b7c73ac59a8452d0a1803240 /src/ng/directive/select.js
parentbb5abe0e9ca37288cd2b2b16aba46f702d1243c0 (diff)
downloadangular.js-949775784237e8354baf1aeb417ce47d2a797b9c.tar.bz2
chore(select): Fix ngOptions regexp capture comment.
Off-by-one error.
Diffstat (limited to 'src/ng/directive/select.js')
-rw-r--r--src/ng/directive/select.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js
index d82bd139..22fa73f5 100644
--- a/src/ng/directive/select.js
+++ b/src/ng/directive/select.js
@@ -122,7 +122,7 @@
var ngOptionsDirective = valueFn({ terminal: true });
var selectDirective = ['$compile', '$parse', function($compile, $parse) {
- //00001111100000000000222200000000000000000000003333000000000000044444444444444444000000000555555555555555550000000666666666666666660000000000000007777
+ //0000111110000000000022220000000000000000000000333300000000000000444444444444444440000000005555555555555555500000006666666666666666600000000000000077770
var NG_OPTIONS_REGEXP = /^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w\d]*)|(?:\(\s*([\$\w][\$\w\d]*)\s*,\s*([\$\w][\$\w\d]*)\s*\)))\s+in\s+(.*)$/,
nullModelCtrl = {$setViewValue: noop};