Item: clean up white space.

This commit is contained in:
Jonathan Puckey 2011-04-12 14:37:52 +02:00
parent 0d4517c77f
commit 8a113a1c84

View file

@ -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