The 1.2compat function Function.create uses another 1.2compat function Array.extend. Because of this, Types/Function depends on Types/Array (even though this isn't noted in the file header), while this is not really necessary.
Replaced the [event].extend(args) call with an args.unshift(event) call instead.
The 1.2compat function
Function.create
uses another 1.2compat functionArray.extend
. Because of this,Types/Function
depends onTypes/Array
(even though this isn't noted in the file header), while this is not really necessary.Replaced the
[event].extend(args)
call with anargs.unshift(event)
call instead.