aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ToolBase.js
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/tools/ToolBase.js
parent648ee61ae84216d0236e0dbc211addc13b2cfa3a (diff)
downloadninja-04343eda8c2f870b0da55cfdc8003c99fe1cc4de.tar.gz
Remove trailing spaces
Diffstat (limited to 'js/tools/ToolBase.js')
-rwxr-xr-xjs/tools/ToolBase.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tools/ToolBase.js b/js/tools/ToolBase.js
index ba271978..8cc77300 100755
--- a/js/tools/ToolBase.js
+++ b/js/tools/ToolBase.js
@@ -89,7 +89,7 @@ exports.toolBase = Montage.create(Component, {
89 HandleShiftKeyUp: { value : function () {} }, 89 HandleShiftKeyUp: { value : function () {} },
90 HandleAltKeyDown: { value : function () {} }, 90 HandleAltKeyDown: { value : function () {} },
91 HandleAltKeyUp: { value : function () {} }, 91 HandleAltKeyUp: { value : function () {} },
92 92
93 HandleSpaceDown: { value: function() { this._isSpace = true; } }, 93 HandleSpaceDown: { value: function() { this._isSpace = true; } },
94 HandleSpaceUp: { value: function() { this._isSpace = false; } }, 94 HandleSpaceUp: { value: function() { this._isSpace = false; } },
95 95
@@ -137,7 +137,7 @@ exports.toolBase = Montage.create(Component, {
137 137
138 previousZoomValue = this.application.ninja.documentBar.zoomFactor; 138 previousZoomValue = this.application.ninja.documentBar.zoomFactor;
139 upperBoundary = previousZoomValue *1.2 ; 139 upperBoundary = previousZoomValue *1.2 ;
140 140
141 if(upperBoundary > 2000) 141 if(upperBoundary > 2000)
142 this.application.ninja.documentBar.zoomFactor = 2000; 142 this.application.ninja.documentBar.zoomFactor = 2000;
143 else 143 else
@@ -149,7 +149,7 @@ exports.toolBase = Montage.create(Component, {
149 zoomOut:{ 149 zoomOut:{
150 value:function(){ 150 value:function(){
151 var lowerBoundary ,previousZoomValue; 151 var lowerBoundary ,previousZoomValue;
152 152
153 previousZoomValue = this.application.ninja.documentBar.zoomFactor ; 153 previousZoomValue = this.application.ninja.documentBar.zoomFactor ;
154 lowerBoundary = previousZoomValue/1.2 ; 154 lowerBoundary = previousZoomValue/1.2 ;
155 155