jslayer / when.js

Waiting for result of one function before executing another

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Javascript when

Simple function which is execute second callback when first is true.

##Compatibility

ie6+ & adequate browsers

##Usage

when(boolean_callback[, delay, attempts])
  .then(custom_callback[, arg[0], arg[1], ...])[.then(...)][.then(...)]
  .not(not_callback);

About

Waiting for result of one function before executing another


Languages

Language:JavaScript 100.0%