fn

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.

static, constant debounce

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

Inspired by lodash and underscore implementations.

static, constant throttle

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