Basic Setup

The Whisk Javascript SDK provides a rich set of client-side functionality that simplifies usage of the Whisk platform.

Include following code on your page:

  var whisk = whisk || {};
  whisk.queue = whisk.queue || [];

When the script is included, you will be able to use Whisk SDK functionality.

Execution queue

Since SDK is loading asynchronously there is a chance that your code will be executed before Whisk SDK is loaded. To handle this situation wrap all your Whisk SDK related code into whisk.queue.push call.

For example:

whisk.queue.push(function() {

Last updated