JOT

Display javascript IO inline with your HTML.

Download: full, min | source

Create a Jot.Task and run it:

Create a Jot.TaskSet:

TaskSets are useful if you need to share context between tasks:

You can access an attribute set in previous tasks of the same taskSet:

You can also output HTML strings or Elements:

Don't want to run right away? Setup input before running:

Get the output after running:

You can specify where a task should render its input and/or output:

Render a task without running:

You can also reset a task's output:

Sometimes you want to create a task that makes an asynchronous call:

Tasks can be expressed as function strings:

Inspired by IPython Notebook. Syntax highlighting by Prism.js.