Start
Index
Search
Namespace
Function
namespace
Function
Additions to the Function prototype.
Function
Summary
public
Function
gbind
(
Object
object,
Array
args)
Binds an object and any number of args to a function.
Function Details
function
gbind
public
Function
gbind(
Object
object,
Array
args)
Binds an object and any number of args to a function. gbind is used instead of the common 'bind' to avoid conflicts.
Parameters:
object
The object to bind to this function
args
The args to pass to the function
Returns:
The function with the new 'this'.