A singleton utility class.
Arguments: |
|
---|---|
Throws Error: | : illegal argument exception if f is not a function |
Returns Function: | |
the bound function |
Binds scope and arguments to a function. All arguments passed after scope are considered bound. Arguments passed to the binder function at call-time are also passed through at the end of the parameter list, after the original bound parameters.
Arguments: |
|
---|---|
Returns Function: | |
the bound function |
Helper bind function for working with private methods. Automatically binds the first parameter to be the scope too.
See also
#bind
Arguments: |
|
---|
exception being thrown from the original function
throws Error: : illegal argument exception if f is not a function throws Error: : illegal argument exception if any of the possible advices is not a function
Decorate a function with advice. Use {@link #bind} to bind the advice functions to the desired scope.
See also
#bind
Arguments: |
|
---|
Defers the execution of a function until the first possible moment to run it. Use {@link #bind} to bind scope and arguments to the function.
Arguments: |
|
---|
Makes a function inherit from another’s prototype.
In order to make it compatible with node’s implementation, it also makes superCtor accessible through ctor.super_.