From 8a113a1c84e2345595bc207ff03fc3cd607caf75 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Tue, 12 Apr 2011 14:37:52 +0200 Subject: [PATCH] Item: clean up white space. --- src/item/Item.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index 1c5af251..3f7eaeb4 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -252,7 +252,7 @@ var Item = this.Item = Base.extend({ */ isEditable: function() { var parent = this; - while(parent) { + while (parent) { if (parent.hidden || parent.locked) return false; parent = parent.parent; @@ -333,7 +333,7 @@ var Item = this.Item = Base.extend({ */ isDescendant: function(item) { var parent = this.parent; - while(parent) { + while (parent) { if (parent == item) return true; parent = parent.parent; @@ -358,7 +358,7 @@ var Item = this.Item = Base.extend({ */ isAncestor: function(item) { var parent = item.parent; - while(parent) { + while (parent) { if (parent == this) return true; parent = parent.parent; @@ -374,7 +374,7 @@ var Item = this.Item = Base.extend({ */ isGroupedWith: function(item) { var parent = this.parent; - while(parent) { + while (parent) { // Find group parents. Check for parent.parent, since don't want // top level layers, because they also inherit from Group if (parent.parent