Oop, we'll want to immediately Stringify any args passed to our constructor,
as well. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4391 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -4,7 +4,7 @@ public class StringBuilder
|
||||
{
|
||||
public function StringBuilder (... args)
|
||||
{
|
||||
_array = args;
|
||||
append.apply(this, args);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -28,6 +28,6 @@ public class StringBuilder
|
||||
}
|
||||
|
||||
/** Our array in which we place all arguments. */
|
||||
protected var _array :Array;
|
||||
protected var _array :Array = [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user