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/panels/css-panel/css-style.reel/css-style.js | 2 +- .../css-panel/rule-list-container.reel/rule-list-container.js | 4 ++-- js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'js/panels/css-panel') diff --git a/js/panels/css-panel/css-style.reel/css-style.js b/js/panels/css-panel/css-style.reel/css-style.js index e0b24b58..cc41ca23 100644 --- a/js/panels/css-panel/css-style.reel/css-style.js +++ b/js/panels/css-panel/css-style.reel/css-style.js @@ -337,7 +337,7 @@ exports.CssStyle = Montage.create(Component, { } else if (value !== '0') { this.units = units; } - + this.valueField.value = value; this.delegate.handleValueChange(rule, property, value, this); diff --git a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js index 230af089..031398cb 100644 --- a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js +++ b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js @@ -200,9 +200,9 @@ exports.RuleListContainer = Montage.create(Component, { }, this); this.ruleListsToDraw.length = 0; } - + }, - + didDraw: { value: function() { if(this.ruleListDrawn === true) { diff --git a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js index 57f4bda3..2e0d97df 100644 --- a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js +++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js @@ -75,7 +75,7 @@ exports.StyleSheetsView = Montage.create(Component, { }, set: function(label) { if(label === this._documentName) { return false; } - + this._documentName = label; this.needsDraw = true; } @@ -147,7 +147,7 @@ exports.StyleSheetsView = Montage.create(Component, { /// App event handlers /// -------------------------------- - + handleStyleSheetsReady : { value: function(e) { this.documentName = this.stylesController.currentDocument.name; @@ -183,7 +183,7 @@ exports.StyleSheetsView = Montage.create(Component, { /// Draw cycle /// -------------------------------- - + templateDidLoad : { value: function() { this.stylesController = this.application.ninja.stylesController; @@ -206,7 +206,7 @@ exports.StyleSheetsView = Montage.create(Component, { if(this.height) { this.styleSheetList.element.style.height = (this.height + this._resizedHeight) + "px"; } - + if(this.documentName && this.documentNameLabel) { this.documentNameLabel.innerHTML = this.documentName; this.documentNameLabel.classList.remove(this.noDocumentLabelClass); -- cgit v1.2.3