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/stage/layout.js | 4 ++-- js/stage/objects-tray.reel/objects-tray.js | 10 +++++----- js/stage/stage.reel/stage.js | 2 +- js/stage/tool-handle.js | 28 ++++++++++++++-------------- 4 files changed, 22 insertions(+), 22 deletions(-) (limited to 'js/stage') diff --git a/js/stage/layout.js b/js/stage/layout.js index 3fcfe9eb..bf7e79c3 100755 --- a/js/stage/layout.js +++ b/js/stage/layout.js @@ -309,7 +309,7 @@ exports.Layout = Montage.create(Component, { { return; } - + try { if(element.nodeType == 1 && this.application.ninja.currentDocument.inExclusion(element) === -1 ) { @@ -393,5 +393,5 @@ exports.Layout = Montage.create(Component, { } } - + }); diff --git a/js/stage/objects-tray.reel/objects-tray.js b/js/stage/objects-tray.reel/objects-tray.js index 2494c2b5..d81c2a8c 100644 --- a/js/stage/objects-tray.reel/objects-tray.js +++ b/js/stage/objects-tray.reel/objects-tray.js @@ -46,19 +46,19 @@ exports.ObjectsTray = Montage.create(Component, { offStageObjectsController : { value: null }, - + _showAllObjects : { value: null }, showAllObjects : { get : function() { return this._showAllObjects; }, set : function(value) { if(value === this._showAllObjects) { return; } - + this._showAllObjects = value; - + this.needsDraw = true; } }, - + workspaceMode : { get : function() { return this._workspaceMode; }, set : function(value) { @@ -119,7 +119,7 @@ exports.ObjectsTray = Montage.create(Component, { Draw Cycle --------------------- */ - templateDidLoad: { + templateDidLoad: { value: function() { this.offStageObjectsController.filterFunction = this.offStageObjectFilter.bind(this); } diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js index 67ce5081..49e7b641 100755 --- a/js/stage/stage.reel/stage.js +++ b/js/stage/stage.reel/stage.js @@ -567,7 +567,7 @@ exports.Stage = Montage.create(Component, { this._clickPoint.y = point.y; // event.layerY; this.enableMouseInOut(); - + this.application.ninja.toolsData.selectedToolInstance.downPoint.x = point.x; this.application.ninja.toolsData.selectedToolInstance.downPoint.y = point.y; this.application.ninja.toolsData.selectedToolInstance.HandleLeftButtonDown(event); diff --git a/js/stage/tool-handle.js b/js/stage/tool-handle.js index e5b0a22f..ecd16951 100755 --- a/js/stage/tool-handle.js +++ b/js/stage/tool-handle.js @@ -111,7 +111,7 @@ var ToolHandle = exports.ToolHandle = Montage.create(Component, { return true; } } - + }); @@ -302,7 +302,7 @@ exports.RotateHandle = Montage.create(ToolHandle, { this._planeEq[3] = -vecUtils.vecDot(3, this._planeEq, this._origin); this._dirVecL = MathUtils.transformPoint(this._dirVec, this._matL); - + context.beginPath(); var pt = [this._radius, 0.0, 0.0]; @@ -322,7 +322,7 @@ exports.RotateHandle = Montage.create(ToolHandle, { // Draw the transform handle context.beginPath(); - + pt = [this._transformCenterRadius, 0.0, 0.0]; for (var i=0; i