diff options
| author | Igor Minar | 2011-10-18 16:46:27 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-18 17:27:43 -0700 | 
| commit | 833eb3c84445110dc1dad238120573f08ed8d102 (patch) | |
| tree | 859e4b51c7b27eed05e1d1047ad89f6583b8b695 /src/widgets.js | |
| parent | 07926ff1ef2912a6fb8f361ae9b3c98bc3da1dc8 (diff) | |
| download | angular.js-833eb3c84445110dc1dad238120573f08ed8d102.tar.bz2 | |
fix(ng:repeat): repeater should ignore $ and $$ properties
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets.js b/src/widgets.js index f1f46419..423fe6dd 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -373,7 +373,7 @@ angularWidget('@ng:repeat', function(expression, element){            cursor = iterStartElement;     // current position of the node        for (key in collection) { -        if (collection.hasOwnProperty(key)) { +        if (collection.hasOwnProperty(key) && key.charAt(0) != '$') {            last = lastOrder.shift(value = collection[key]);            if (last) {              // if we have already seen this object, then we need to reuse the  | 
