Defined In: | Function.js. |
Class: | Function |
Method | Defined By | |
---|---|---|
createCallback
()
:
Function
Creates a callback that passes arguments[0], arguments[1], arguments[2], .
Creates a callback that passes arguments[0], arguments[1], arguments[2], ...
Call directly on any function. Example: myFunction.createCallback(myarg, myarg2) Will create a function that is bound to those 2 args.
|
Function | |
Creates a delegate (callback) that sets the scope to obj.
Creates a delegate (callback) that sets the scope to obj.
Call directly on any function. Example: this.myFunction.createDelegate(this) Will create a function that is automatically scoped to this.
|
Function | |
Creates an interceptor function.
Creates an interceptor function. The passed fcn is called before the original one. If it returns false, the original one is not called.
The resulting function returns the results of the original function. The passed fcn is called with the parameters of the original function.
|
Function | |
Create a combined function call sequence of the original function + the passed function.
Create a combined function call sequence of the original function + the passed function.
The resulting function returns the results of the original function. The passed fcn is called with the parameters of the original function
|
Function | |
Calls this function after the number of millseconds specified.
Calls this function after the number of millseconds specified.
|
Function |