aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
authorMisko Hevery2011-02-16 11:53:11 -0500
committerMisko Hevery2011-02-25 09:23:30 -0800
commit9e67da420b60a417204ab53e8a16aa291f2b1ca0 (patch)
tree895790e2d46c966445df1e4985ed6a207961d1fd /src/widgets.js
parent5fc2b96b97a99286fb5734abef86dde16aeb3e55 (diff)
downloadangular.js-9e67da420b60a417204ab53e8a16aa291f2b1ca0.tar.bz2
Corrected an issue where properties inherited from __proto__ show up in ng:repeat.
Closses #112
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets.js b/src/widgets.js
index d58e7789..fe808740 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -927,7 +927,7 @@ angularWidget('@ng:repeat', function(expression, element){
}
for (key in collection) {
- if (!is_array || collection.hasOwnProperty(key)) {
+ if (collection.hasOwnProperty(key)) {
if (index < childCount) {
// reuse existing child
childScope = children[index];