diff options
author | Armen Kesablyan | 2012-05-08 16:43:43 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-08 16:43:43 -0700 |
commit | dc075ffcc6dd03c090d90fad999eee9b924d56ee (patch) | |
tree | 867f8bdd588c8f9076979233ca46a688ff70523e /node_modules/montage/ui/scroller.reel/scroller.js | |
parent | 5d7e470351fd150d5e70a97332fa2f2553797499 (diff) | |
parent | 4d949f141247215b5f2a6ec0cfc7d2d31cf2bb1f (diff) | |
download | ninja-dc075ffcc6dd03c090d90fad999eee9b924d56ee.tar.gz |
Merge branch 'refs/heads/dom-architecture' into binding
Conflicts:
js/components/layout/tools-properties.reel/tools-properties.html
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/scroller.reel/scroller.js')
-rw-r--r-- | node_modules/montage/ui/scroller.reel/scroller.js | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/node_modules/montage/ui/scroller.reel/scroller.js b/node_modules/montage/ui/scroller.reel/scroller.js index 8c367cd1..87218aeb 100644 --- a/node_modules/montage/ui/scroller.reel/scroller.js +++ b/node_modules/montage/ui/scroller.reel/scroller.js | |||
@@ -101,20 +101,6 @@ exports.Scroller = Montage.create(Component, { | |||
101 | } | 101 | } |
102 | }, | 102 | }, |
103 | 103 | ||
104 | _hasBouncing: { | ||
105 | enumerable: false, | ||
106 | value: true | ||
107 | }, | ||
108 | |||
109 | hasBouncing: { | ||
110 | get: function () { | ||
111 | return this._hasBouncing; | ||
112 | }, | ||
113 | set: function (value) { | ||
114 | this._hasBouncing = value; | ||
115 | } | ||
116 | }, | ||
117 | |||
118 | _content: { | 104 | _content: { |
119 | enumerable: false, | 105 | enumerable: false, |
120 | value: null | 106 | value: null |
@@ -147,6 +133,13 @@ exports.Scroller = Montage.create(Component, { | |||
147 | } | 133 | } |
148 | }, | 134 | }, |
149 | 135 | ||
136 | canDraw: { | ||
137 | value: function() { | ||
138 | this.needsDraw = true; | ||
139 | return Component.canDraw.apply(this, arguments); | ||
140 | } | ||
141 | }, | ||
142 | |||
150 | willDraw: { | 143 | willDraw: { |
151 | enumerable: false, | 144 | enumerable: false, |
152 | value: function () { | 145 | value: function () { |