Lots of debug logging, some casting.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4001 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-04-06 20:05:28 +00:00
parent f7f9056ed2
commit 64d7f32178
7 changed files with 34 additions and 4 deletions
+2
View File
@@ -10,6 +10,8 @@ public class ArrayUtil
*/
public static function indexOf (arr :Array, element :Object) :int
{
// return mx.utils.ArrayUtil.getItemIndex(element, arr);
//
for (var ii :int = 0; ii < arr.length; ii++) {
if (arr[ii] === element) {
return ii;