From be136337cd6d3f98ebae16c7f71fdc9fa1702e7e Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 20 Mar 2012 16:15:09 -0700 Subject: Feed Reader - Fix reference closure'd "this" --- node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'node_modules') diff --git a/node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js b/node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js index 0d5d7bb1..cc652417 100644 --- a/node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js +++ b/node_modules/montage/ui/feed-reader/feed-reader.reel/feed-reader.js @@ -107,7 +107,8 @@ exports.FeedReader = Montage.create(Component, { //console.log('entries: ', result.feed.entries); self.addEntryAnimation(); self.entries = result.feed.entries; - this._activeIndex = 0; + self.activeIndex = 0; + } -- cgit v1.2.3