More work on things.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3900 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -6,6 +6,13 @@ package com.threerings.util {
|
||||
*/
|
||||
public dynamic class SimpleMap extends Object
|
||||
{
|
||||
// nada
|
||||
public function remove (key :Object) :Object
|
||||
{
|
||||
// I'm not sure this really works
|
||||
var skey :String = key.toString();
|
||||
var value :Object = this[skey];
|
||||
this[skey] = undefined;
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user