Various small fixes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4258 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-07-12 02:22:18 +00:00
parent 78cefe9a8f
commit 2f3584adf7
5 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ public class ArrayUtil
arr :Array, element :Object, firstOnly :Boolean) :void
{
for (var ii :int = 0; ii < arr.length; ii++) {
if (arr[ii] === element) {
if (Util.equals(arr[ii], element)) {
arr.splice(ii--, 1);
if (firstOnly) {
return;