From 04343eda8c2f870b0da55cfdc8003c99fe1cc4de Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:53:10 -0700 Subject: Remove trailing spaces --- js/lib/geom/anchor-point.js | 12 ++++++------ js/lib/geom/brush-stroke.js | 6 +++--- js/lib/geom/circle.js | 2 +- js/lib/geom/geom-obj.js | 2 +- js/lib/geom/shape-primitive.js | 2 +- js/lib/geom/sub-path.js | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) (limited to 'js/lib/geom') diff --git a/js/lib/geom/anchor-point.js b/js/lib/geom/anchor-point.js index a1fcfc0d..72eebd0d 100755 --- a/js/lib/geom/anchor-point.js +++ b/js/lib/geom/anchor-point.js @@ -30,14 +30,14 @@ POSSIBILITY OF SUCH DAMAGE. ///////////////////////////////////////////// // Class GLAnchorPoint -// GL representation of a point clicked +// GL representation of a point clicked // and dragged during pen tool -// -// +// +// ///////////////////////////////////////////// var GLAnchorPoint = function GLAnchorPoint() { ///////////////////////////////////////// - // Instance variables + // Instance variables ///////////////////////////////////////// this._x = 0.0; this._y = 0.0; @@ -99,7 +99,7 @@ GLAnchorPoint.prototype.translateNextFromPrev = function (tx, ty, tz) { if (totalTransSq < 0.0000001) { return; } - + // *** compute the rotation of the prev vector *** var oldP = [this._prevX + tx - this._x, this._prevY + ty - this._y, this._prevZ + tz - this._z]; var newP = [this._prevX - this._x, this._prevY - this._y, this._prevZ - this._z]; @@ -133,7 +133,7 @@ GLAnchorPoint.prototype.translatePrevFromNext = function (tx, ty, tz) { if (totalTransSq < 0.0000001) { return; } - + // *** compute the rotation of the next vector *** var oldN = [this._nextX + tx - this._x, this._nextY + ty - this._y, this._nextZ + tz - this._z]; var newN = [this._nextX - this._x, this._nextY - this._y, this._nextZ - this._z]; diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index e553a1c6..6365d14c 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js @@ -52,7 +52,7 @@ var BrushStroke = function GLBrushStroke() { this._BBoxMax = [0, 0, 0]; this._isDirty = true; this._isInit = false; - + //the HTML5 canvas that holds this brush stroke this._canvas = null; //flag indicating whether or not to freeze the size and position of canvas @@ -312,7 +312,7 @@ BrushStroke.prototype.setWidth = function (newW) { } var minWidth = 1+this._strokeWidth; if (newW