silverstripe-framework/thirdparty/swfupload/Flash8/Delegate.as
2009-11-21 02:26:09 +00:00

8 lines
163 B
ActionScript

class Delegate
{
static function create(obj:Object, func:Function):Function
{
return function() { return func.apply(obj, arguments); };
}
}