Module: fn

fn.js

Source:
utils/fn.js

Members


<static, constant> bind

Bind (a.k.a proxy or Context). A simple method for changing the context of a function It also stores a unique id on the function so it can be easily removed from events.

Source:
utils/fn.js

<static, constant> throttle

Wraps the given function, fn, with a new function that only invokes fn at most once per every wait milliseconds.

Source:
utils/fn.js