From 7f59ce782b815f4eef98960bb30f48e13bdfde03 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sun, 21 Sep 2008 02:56:28 -0700 Subject: [PATCH] Accidentally committed a few alerts. Reviewed by me. --- AppKit/Cib/_CPCibObjectData.j | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/AppKit/Cib/_CPCibObjectData.j b/AppKit/Cib/_CPCibObjectData.j index 736d18265..f336e6942 100644 --- a/AppKit/Cib/_CPCibObjectData.j +++ b/AppKit/Cib/_CPCibObjectData.j @@ -63,10 +63,9 @@ import "_CPCibConnector.j" { var count = [_objectsValues count], topLevelObjects = []; - var str = ""; - str2 = " "; + while (count--) - {str2 += _namesValues[count] +"\n"; + { var eachObject = _objectsValues[count]; if (eachObject == _fileOwner) @@ -74,12 +73,10 @@ import "_CPCibConnector.j" var anObject = _objectsKeys[count]; if (anObject != _fileOwner) - {str += _namesValues[count] + "\n"; - anObject.realname = _namesValues[count];str2+='X'+'\n'; - topLevelObjects.push(anObject);} + topLevelObjects.push(anObject); } } - alert(str2+'\n'+str); + return topLevelObjects; }