diff options
author | Kishore Subramanian | 2012-03-19 10:36:49 -0700 |
---|---|---|
committer | Kishore Subramanian | 2012-03-19 10:39:46 -0700 |
commit | 9d364be255900e9bde02c4b254d145ec41fc78fb (patch) | |
tree | 2b61f27e38b006c8f4d3e33dfa4cc568c4266d4e /node_modules/montage/examples/feed-reader/main.reel/main.js | |
parent | eb5cda3ce03b35c3335b91c34ead0cdf290b243e (diff) | |
download | ninja-9d364be255900e9bde02c4b254d145ec41fc78fb.tar.gz |
Changes to the Demo
- Feed Reader now shows one entry at a time
- Category dropdown removed form the Map. It is included as part of the example code
- Changed the categories that do not return results
Diffstat (limited to 'node_modules/montage/examples/feed-reader/main.reel/main.js')
-rw-r--r-- | node_modules/montage/examples/feed-reader/main.reel/main.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/montage/examples/feed-reader/main.reel/main.js b/node_modules/montage/examples/feed-reader/main.reel/main.js index bea5f91a..06d8fdba 100644 --- a/node_modules/montage/examples/feed-reader/main.reel/main.js +++ b/node_modules/montage/examples/feed-reader/main.reel/main.js | |||
@@ -13,6 +13,16 @@ exports.Main = Montage.create(Component, { | |||
13 | distinct: true | 13 | distinct: true |
14 | }, | 14 | }, |
15 | 15 | ||
16 | mapCategory: { | ||
17 | get: function() { | ||
18 | return this._mapCategory; | ||
19 | }, | ||
20 | set: function(value) { | ||
21 | this._mapCategory = value; | ||
22 | this.map.category = value; | ||
23 | } | ||
24 | }, | ||
25 | |||
16 | feedReader: {value: null}, | 26 | feedReader: {value: null}, |
17 | 27 | ||
18 | map: {value: null}, | 28 | map: {value: null}, |