hello, then

The functions hello.api, hello.login and hello.logout return a Promises/A+ 1.1.1 compliant then method.

Example hello.api().then()

This example shows how to use Promises to act on the response from hello.login and hello.api calls.

Promise.all

Promise.all is not native in IE yet so here's a shim

Example Promise.all







Initiate app