aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/scroll-bars.reel/scroll-bars.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-02-07 16:55:34 -0800
committerArmen Kesablyan2012-02-07 16:55:34 -0800
commit10f0ad4c15f090b2d0d50d11e4c7aaf291e9eb0e (patch)
tree12b31910a3c7c7fa2ee0b26d8aaa611710e139a5 /node_modules/montage/ui/scroll-bars.reel/scroll-bars.js
parent7f8730c3add146f1ba107e6fc22d1f5a8348ed8b (diff)
parent668510892537eaaeb2e11520831d87b44b2489b7 (diff)
downloadninja-10f0ad4c15f090b2d0d50d11e4c7aaf291e9eb0e.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into text-tool
Conflicts: _scss/compass_app_log.txt css/ninja.css
Diffstat (limited to 'node_modules/montage/ui/scroll-bars.reel/scroll-bars.js')
-rw-r--r--node_modules/montage/ui/scroll-bars.reel/scroll-bars.js14
1 files changed, 4 insertions, 10 deletions
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});