From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/components/treeview/leaf.reel/leaf.html | 6 +++--- js/components/treeview/ninja-leaf.reel/ninja-leaf.html | 6 +++--- js/components/treeview/treeview.reel/treeview.html | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'js/components/treeview') diff --git a/js/components/treeview/leaf.reel/leaf.html b/js/components/treeview/leaf.reel/leaf.html index 750efe8a..0cea68a2 100644 --- a/js/components/treeview/leaf.reel/leaf.html +++ b/js/components/treeview/leaf.reel/leaf.html @@ -30,7 +30,7 @@ POSSIBILITY OF SUCH DAMAGE. --> - + + } +
diff --git a/js/components/treeview/ninja-leaf.reel/ninja-leaf.html b/js/components/treeview/ninja-leaf.reel/ninja-leaf.html index 2ec7f79b..02344920 100644 --- a/js/components/treeview/ninja-leaf.reel/ninja-leaf.html +++ b/js/components/treeview/ninja-leaf.reel/ninja-leaf.html @@ -30,7 +30,7 @@ POSSIBILITY OF SUCH DAMAGE. --> - + + } +
diff --git a/js/components/treeview/treeview.reel/treeview.html b/js/components/treeview/treeview.reel/treeview.html index d1621d50..c7cadee7 100644 --- a/js/components/treeview/treeview.reel/treeview.html +++ b/js/components/treeview/treeview.reel/treeview.html @@ -30,7 +30,7 @@ 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 --- .../treeview/ninja-branch.reel/ninja-branch.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'js/components/treeview') 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 ++-- js/components/treeview/treeview.reel/treeview.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'js/components/treeview') 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.
  • -
+
- +
diff --git a/js/components/treeview/treeview.reel/treeview.html b/js/components/treeview/treeview.reel/treeview.html index c7cadee7..14285452 100644 --- a/js/components/treeview/treeview.reel/treeview.html +++ b/js/components/treeview/treeview.reel/treeview.html @@ -45,10 +45,10 @@ POSSIBILITY OF SUCH DAMAGE. } }, "defaultBranch" : { - "prototype" : "js/components/treeview/branch.reel" + "prototype" : "js/components/treeview/branch.reel" }, "defaultLeaf" : { - "prototype" : "js/components/treeview/leaf.reel" + "prototype" : "js/components/treeview/leaf.reel" }, "scrollview": { "prototype": "montage/ui/scroller.reel", -- 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/branch.reel/branch.html | 2 +- js/components/treeview/leaf.reel/leaf.html | 2 +- js/components/treeview/ninja-branch.reel/ninja-branch.html | 2 +- js/components/treeview/ninja-leaf.reel/ninja-leaf.html | 2 +- js/components/treeview/treeview.reel/treeview.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'js/components/treeview') diff --git a/js/components/treeview/branch.reel/branch.html b/js/components/treeview/branch.reel/branch.html index 7f5610b1..d69616fc 100644 --- a/js/components/treeview/branch.reel/branch.html +++ b/js/components/treeview/branch.reel/branch.html @@ -1,4 +1,4 @@ - +