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 --- .../treeview/ninja-branch.reel/ninja-branch.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'js/components/treeview/ninja-branch.reel') diff --git a/js/components/treeview/ninja-branch.reel/ninja-branch.js b/js/components/treeview/ninja-branch.reel/ninja-branch.js index f92a09bc..b4a096e3 100644 --- a/js/components/treeview/ninja-branch.reel/ninja-branch.js +++ b/js/components/treeview/ninja-branch.reel/ninja-branch.js @@ -71,7 +71,7 @@ var Branch = exports.Branch = Montage.create(TreeNode, { value: function() { this.collapser.removeAttribute('id'); this.label._element.addEventListener('click', this, false); - + if(this.hideLabel) { this.label.element.style.display = "none"; } @@ -81,17 +81,17 @@ var Branch = exports.Branch = Montage.create(TreeNode, { }, handleWebkitTransitionEnd : { value: function(e) { - e.stopPropagation(); - + e.stopPropagation(); + ///// Remove Transition this._removeTransition = true; this.collapser.removeEventListener('webkitTransitionEnd', this, false); - + //// If it's an expand transition, restore height to auto if(this.isExpanded) { this._switchToAuto = true; } - + this.needsDraw = true; } @@ -114,9 +114,9 @@ var Branch = exports.Branch = Montage.create(TreeNode, { if (this.sourceObject[this.labelKey]) { this._labelText = this.sourceObject[this.labelKey]; } - + if(this._doCollapse) { - if (this._step === 0) { + if (this._step === 0) { this.collapser.style.height = this.branchHeight; this.collapser.style.position = "relative"; this.collapser.style.overflow = 'hidden'; @@ -135,15 +135,15 @@ var Branch = exports.Branch = Montage.create(TreeNode, { } } else if(this._doExpand) { this.collapser.style.height = this.branchHeight; - + this._doExpand = false; } if(this._switchToAuto) { this.collapser.childNodes[1].style.position = 'static'; - this.collapser.style.height = 'auto'; + this.collapser.style.height = 'auto'; this._switchToAuto = false; } - + if(this._removeTransition) { this.collapser.classList.remove(this.collapseClass); this._removeTransition = false; @@ -167,7 +167,7 @@ var Branch = exports.Branch = Montage.create(TreeNode, { }, collapse : { value: function() { - this.needsDraw = this._doCollapse = true; + this.needsDraw = this._doCollapse = true; } }, branchHeight: { -- 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/treeview/ninja-branch.reel/ninja-branch.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/treeview/ninja-branch.reel') diff --git a/js/components/treeview/ninja-branch.reel/ninja-branch.html b/js/components/treeview/ninja-branch.reel/ninja-branch.html index 52cd97b4..d6bbcc1b 100644 --- a/js/components/treeview/ninja-branch.reel/ninja-branch.html +++ b/js/components/treeview/ninja-branch.reel/ninja-branch.html @@ -160,9 +160,9 @@ 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/treeview/ninja-branch.reel/ninja-branch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/treeview/ninja-branch.reel') diff --git a/js/components/treeview/ninja-branch.reel/ninja-branch.html b/js/components/treeview/ninja-branch.reel/ninja-branch.html index d6bbcc1b..ec0fe2b1 100644 --- a/js/components/treeview/ninja-branch.reel/ninja-branch.html +++ b/js/components/treeview/ninja-branch.reel/ninja-branch.html @@ -1,4 +1,4 @@ - +