proxy Function

Returns a function which executes the specified callback with a modified scope.

Summary

ElementFunction
ReturnsFunction

Arguments

fnFunctionThe callback function to execute.
objObjectThe object to use as the scope within the function.

Example

nano.proxy(myFunction, scopeObject);