Added Util.isPlainObject().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4952 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -229,7 +229,7 @@ public class StringUtil
|
||||
}
|
||||
return "Array(" + s + ")";
|
||||
|
||||
} else if (obj.constructor == Object) {
|
||||
} else if (Util.isPlainObject(obj)) {
|
||||
// TODO: maybe do this for any dynamic object? (would have to use describeType)
|
||||
s = "";
|
||||
for (var prop :String in obj) {
|
||||
|
||||
Reference in New Issue
Block a user