aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/scroll-bars.reel
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-03 11:21:09 -0800
committerNivesh Rajbhandari2012-02-03 11:21:09 -0800
commitc203ea7413b5a2b2232d7f8346cd1b9932f2575b (patch)
tree866f72ecc4af2f4a28b5f948ee9b03af2d32fce0 /node_modules/montage/ui/scroll-bars.reel
parentdb73f720b692d63b55f7c773579fe23336ec0486 (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-c203ea7413b5a2b2232d7f8346cd1b9932f2575b.tar.gz
Merge branch 'refs/heads/master' into ToolFixes
Diffstat (limited to 'node_modules/montage/ui/scroll-bars.reel')
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.html2
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.js14
2 files changed, 5 insertions, 11 deletions
diff --git a/node_modules/montage/ui/scroll-bars.reel/scroll-bars.html b/node_modules/montage/ui/scroll-bars.reel/scroll-bars.html
index a9d92944..93986b5d 100644
--- a/node_modules/montage/ui/scroll-bars.reel/scroll-bars.html
+++ b/node_modules/montage/ui/scroll-bars.reel/scroll-bars.html
@@ -114,4 +114,4 @@
114 </div> 114 </div>
115 </div> 115 </div>
116</body> 116</body>
117</html> \ No newline at end of file 117</html>
diff --git a/node_modules/montage/ui/scroll-bars.reel/scroll-bars.js b/node_modules/montage/ui/scroll-bars.reel/scroll-bars.js
index 48b6a4c9..4a954399 100644
--- a/node_modules/montage/ui/scroll-bars.reel/scroll-bars.js
+++ b/node_modules/montage/ui/scroll-bars.reel/scroll-bars.js
@@ -1,9 +1,3 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */
6
7var Montage = require("montage").Montage, 1var Montage = require("montage").Montage,
8 Component = require("ui/component").Component; 2 Component = require("ui/component").Component;
9 3
@@ -75,7 +69,7 @@ var ScrollBars = exports.ScrollBars = Montage.create(Component, {
75 enumerable: false, 69 enumerable: false,
76 value: 0 70 value: 0
77 }, 71 },
78 72
79 opacity: { 73 opacity: {
80 get: function () { 74 get: function () {
81 return this._opacity; 75 return this._opacity;
@@ -85,7 +79,7 @@ var ScrollBars = exports.ScrollBars = Montage.create(Component, {
85 this.needsDraw = true; 79 this.needsDraw = true;
86 } 80 }
87 }, 81 },
88 82
89 _isDisplayUpdated: { 83 _isDisplayUpdated: {
90 enumerable: false, 84 enumerable: false,
91 value: false 85 value: false
@@ -174,7 +168,7 @@ var ScrollBars = exports.ScrollBars = Montage.create(Component, {
174 this._bottomClip.style.height = this._bottom.style.height = (this._offsetHeight - 4) + "px"; 168 this._bottomClip.style.height = this._bottom.style.height = (this._offsetHeight - 4) + "px";
175 this._bottomClip.style.clip = "rect(3px,6px," + (this._offsetHeight - 3) + "px,-1px)"; 169 this._bottomClip.style.clip = "rect(3px,6px," + (this._offsetHeight - 3) + "px,-1px)";
176 this._hasResizedVertical = false; 170 this._hasResizedVertical = false;
177 } 171 }
178 if (this._opacity) { 172 if (this._opacity) {
179 if (this._displayHorizontal) { 173 if (this._displayHorizontal) {
180 range = this._offsetWidth - 9 - (this._displayVertical ? 6 : 0); 174 range = this._offsetWidth - 9 - (this._displayVertical ? 6 : 0);
@@ -244,4 +238,4 @@ var ScrollBars = exports.ScrollBars = Montage.create(Component, {
244 } 238 }
245 } 239 }
246 } 240 }
247}); \ No newline at end of file 241});