From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- .../layout/document-bar.reel/document-bar.html | 4 +-- .../layout/document-bar.reel/document-bar.js | 30 +++++++++++----------- .../layout/document-entry.reel/document-entry.html | 4 +-- .../layout/tools-list.reel/tools-list.html | 4 +-- .../tools-properties.reel/tools-properties.html | 6 ++--- 5 files changed, 24 insertions(+), 24 deletions(-) (limited to 'js/components/layout') diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index 945ab689..c9e16120 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html @@ -72,8 +72,8 @@ POSSIBILITY OF SUCH DAMAGE. "zoomControl": {"@": "hottext1"} } } - } - + } + diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 86c55267..7e2b4dbb 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js @@ -127,21 +127,21 @@ exports.DocumentBar = Montage.create(Component, { value: 100 }, - zoomFactor: { - get: function() { return this._zoomFactor; }, - - set: function(value) - { - if(value !== this._zoomFactor) - { - this._zoomFactor = value; - if (!this._firstDraw) - { - this.application.ninja.stage.setZoom(value); - } - } - } - }, + zoomFactor: { + get: function() { return this._zoomFactor; }, + + set: function(value) + { + if(value !== this._zoomFactor) + { + this._zoomFactor = value; + if (!this._firstDraw) + { + this.application.ninja.stage.setZoom(value); + } + } + } + }, draw: { value: function() { diff --git a/js/components/layout/document-entry.reel/document-entry.html b/js/components/layout/document-entry.reel/document-entry.html index 4d89d6d7..da287f45 100755 --- a/js/components/layout/document-entry.reel/document-entry.html +++ b/js/components/layout/document-entry.reel/document-entry.html @@ -57,8 +57,8 @@ POSSIBILITY OF SUCH DAMAGE. } ] } - } - + } +
  • diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html index 76422d9e..92409684 100755 --- a/js/components/layout/tools-list.reel/tools-list.html +++ b/js/components/layout/tools-list.reel/tools-list.html @@ -160,8 +160,8 @@ POSSIBILITY OF SUCH DAMAGE. ] } } - } - + } + diff --git a/js/components/layout/tools-properties.reel/tools-properties.html b/js/components/layout/tools-properties.reel/tools-properties.html index f51bce10..6159a230 100755 --- a/js/components/layout/tools-properties.reel/tools-properties.html +++ b/js/components/layout/tools-properties.reel/tools-properties.html @@ -165,7 +165,7 @@ POSSIBILITY OF SUCH DAMAGE. "rotateStageProperties": {"@": "rotateStageProperties"}, "panProperties": {"@": "panProperties"}, "zoomProperties": {"@": "zoomProperties"}, - "bindingProperties": {"@": "bindingProperties"} + "bindingProperties": {"@": "bindingProperties"} }, "bindings": { "currentSelectedTool": { @@ -175,8 +175,8 @@ POSSIBILITY OF SUCH DAMAGE. } } } - } - + } + -- cgit v1.2.3 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/components/layout/document-bar.reel/document-bar.js | 2 +- js/components/layout/tools-list.reel/tools-list.js | 2 +- js/components/layout/tools-properties.reel/tools-properties.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'js/components/layout') diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 7e2b4dbb..890640b1 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js @@ -157,7 +157,7 @@ exports.DocumentBar = Montage.create(Component, { this.codeView.classList.add("selected"); if(this.designView.classList.contains("selected")) this.designView.classList.toggle("selected"); } - + } else if(this.type) { this.designView.classList.remove("active"); } diff --git a/js/components/layout/tools-list.reel/tools-list.js b/js/components/layout/tools-list.reel/tools-list.js index a20aa6ad..e5d34bdb 100755 --- a/js/components/layout/tools-list.reel/tools-list.js +++ b/js/components/layout/tools-list.reel/tools-list.js @@ -181,7 +181,7 @@ exports.ToolsList = Montage.create(Component, { this.RectTool.options = this.application.ninja.toolsProperties.shapeProperties.rectProperties; this.LineTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties; this.BrushTool.options = this.application.ninja.toolsProperties.brushProperties; - + this.EraserTool.options = this.application.ninja.toolsProperties.eraserProperties; this.RotateStageTool3D.options = this.application.ninja.toolsProperties.rotateStageProperties; this.PanTool.options = this.application.ninja.toolsProperties.panProperties; diff --git a/js/components/layout/tools-properties.reel/tools-properties.js b/js/components/layout/tools-properties.reel/tools-properties.js index 8c4da4f4..fad86a66 100755 --- a/js/components/layout/tools-properties.reel/tools-properties.js +++ b/js/components/layout/tools-properties.reel/tools-properties.js @@ -174,7 +174,7 @@ exports.ToolsProperties = Montage.create(Component, { this._selectedTool = value; this[this._selectedTool.properties].visible = true; */ - + } } -- cgit v1.2.3 From 6803c0abd279fcb640c38b3881b751bab982cbe0 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:42:16 -0700 Subject: Remove trailing spaces --- js/components/layout/bread-crumb.reel/bread-crumb.html | 2 +- js/components/layout/document-bar.reel/document-bar.html | 2 +- js/components/layout/document-entry.reel/document-entry.html | 2 +- js/components/layout/documents-tab.reel/documents-tab.html | 2 +- js/components/layout/tools-properties.reel/tools-properties.html | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'js/components/layout') diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.html b/js/components/layout/bread-crumb.reel/bread-crumb.html index 02105616..5d88f522 100755 --- a/js/components/layout/bread-crumb.reel/bread-crumb.html +++ b/js/components/layout/bread-crumb.reel/bread-crumb.html @@ -99,4 +99,4 @@ POSSIBILITY OF SUCH DAMAGE. - + diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index c9e16120..f4d52b57 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html @@ -74,7 +74,7 @@ POSSIBILITY OF SUCH DAMAGE. } } - + diff --git a/js/components/layout/document-entry.reel/document-entry.html b/js/components/layout/document-entry.reel/document-entry.html index da287f45..c896816a 100755 --- a/js/components/layout/document-entry.reel/document-entry.html +++ b/js/components/layout/document-entry.reel/document-entry.html @@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. - + -- cgit v1.2.3 From 9461e7731f91dd03a15b0a62667e722a60c84721 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:44:57 -0700 Subject: Remove byte order markers (BOM) --- js/components/layout/bread-crumb.reel/bread-crumb.html | 2 +- js/components/layout/document-bar.reel/document-bar.html | 2 +- js/components/layout/document-entry.reel/document-entry.html | 2 +- js/components/layout/documents-tab.reel/documents-tab.html | 2 +- js/components/layout/stage-mode.reel/stage-mode.html | 2 +- js/components/layout/subtool-button.reel/subtool-button.html | 2 +- js/components/layout/tool-button.reel/tool-button.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'js/components/layout') diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.html b/js/components/layout/bread-crumb.reel/bread-crumb.html index 5d88f522..29e88a02 100755 --- a/js/components/layout/bread-crumb.reel/bread-crumb.html +++ b/js/components/layout/bread-crumb.reel/bread-crumb.html @@ -1,4 +1,4 @@ - +