aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-18 00:07:39 -0700
committerValerio Virgillito2012-03-18 00:07:39 -0700
commitcff7deb476f4095d7d3d76c92360617d3316a96f (patch)
treedac832405af0e7a801806f123701b70afb17b69a /node_modules/montage/ui
parentb9ee2f499faee0c7e0f741aac47387236407931d (diff)
downloadninja-cff7deb476f4095d7d3d76c92360617d3316a96f.tar.gz
changing the picasa-carousel to use a getter and setter for the queryParameter
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui')
-rw-r--r--node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js b/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js
index 25d363b0..1f5e7dd0 100644
--- a/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js
+++ b/node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js
@@ -20,9 +20,19 @@ var PicasaCarousel = exports.PicasaCarousel = Montage.create(Component, /** @len
20 value: null 20 value: null
21 }, 21 },
22 22
23 _queryParameter: {
24 enumerable: false,
25 value: null
26 },
27
23 queryParameter: { 28 queryParameter: {
24 enumerable: false, 29 get: function() {
25 value: null 30 return this._queryParameter;
31 },
32 set: function(value) {
33 this._queryParameter = value;
34 this.performSearch();
35 }
26 }, 36 },
27 37
28 resultCount: { 38 resultCount: {