aboutsummaryrefslogtreecommitdiff
path: root/js/components/gradientpicker.reel
diff options
context:
space:
mode:
authorKris Kowal2012-07-06 11:53:10 -0700
committerKris Kowal2012-07-06 15:01:48 -0700
commit04343eda8c2f870b0da55cfdc8003c99fe1cc4de (patch)
tree0a6048889b65bb16ff58822e55bc1346e9eb07bd /js/components/gradientpicker.reel
parent648ee61ae84216d0236e0dbc211addc13b2cfa3a (diff)
downloadninja-04343eda8c2f870b0da55cfdc8003c99fe1cc4de.tar.gz
Remove trailing spaces
Diffstat (limited to 'js/components/gradientpicker.reel')
-rwxr-xr-xjs/components/gradientpicker.reel/gradientpicker.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/components/gradientpicker.reel/gradientpicker.js b/js/components/gradientpicker.reel/gradientpicker.js
index 937b473b..f35a1fff 100755
--- a/js/components/gradientpicker.reel/gradientpicker.js
+++ b/js/components/gradientpicker.reel/gradientpicker.js
@@ -94,7 +94,7 @@ exports.GradientPicker = Montage.create(Component, {
94 this._trackData.width = parseInt(getComputedStyle(this.trackChips).getPropertyCSSValue('width').cssText); 94 this._trackData.width = parseInt(getComputedStyle(this.trackChips).getPropertyCSSValue('width').cssText);
95 //TODO: Fix events and remove this hack 95 //TODO: Fix events and remove this hack
96 this.trackCover.addEventListener('mouseover', function () { 96 this.trackCover.addEventListener('mouseover', function () {
97 if (!this._updating) { 97 if (!this._updating) {
98 this.trackCover.style.display = 'none'; 98 this.trackCover.style.display = 'none';
99 } 99 }
100 }.bind(this), true); 100 }.bind(this), true);
@@ -105,7 +105,7 @@ exports.GradientPicker = Montage.create(Component, {
105 // 105 //
106 this.radioRadial.addEventListener('change', function (e){ 106 this.radioRadial.addEventListener('change', function (e){
107 this.mode = 'radial'; 107 this.mode = 'radial';
108 }.bind(this), true); 108 }.bind(this), true);
109 } 109 }
110 }, 110 },
111 //////////////////////////////////////////////////////////////////// 111 ////////////////////////////////////////////////////////////////////
@@ -139,7 +139,7 @@ exports.GradientPicker = Montage.create(Component, {
139 var point = webkitConvertPointFromNodeToPage(this.trackMain, new WebKitPoint(0, 0)); 139 var point = webkitConvertPointFromNodeToPage(this.trackMain, new WebKitPoint(0, 0));
140 //Setting position of track to calculate movement 140 //Setting position of track to calculate movement
141 this._trackData.x = point.x; 141 this._trackData.x = point.x;
142 this._trackData.y = point.y; 142 this._trackData.y = point.y;
143 } 143 }
144 }, 144 },
145 //////////////////////////////////////////////////////////////////// 145 ////////////////////////////////////////////////////////////////////