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 invokesfn
at most once per everywait
milliseconds.- Source:
- utils/fn.js