Commit graph

9 commits

Author SHA1 Message Date
toby
343d350af8 Initial async work
Operations can now:
1) return their progress directly.
2) throw an error.
3) (ADDED) return a promise:
  + that resolves to their progress.
  + that rejects an error message (like throwing but asynchronous).
  For an example see the new operation "Wait" (Flow Control)

Added a flow control operation "Wait", which waits for the number of
milliseconds passed in as its argument. It is a fairly useless operation
but it does demonstrate how asynchronous operations now work.

A recipe like:
```
Fork
Wait (1000ms)
```
will only wait for 1000ms (each wait runs at the same time as each
other).

I have not looked into performance implications yet, also this code is
probably more complicated than it needs to be (would love help on this).
2017-02-14 14:54:51 -05:00
n1474335
e803d208e8 Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
n1474335
e3c977934b Variable names changed from underscore to CamelCase. Eslint rules updated. #64 2017-01-31 18:24:56 +00:00
n1474335
e1ef228575 Output buttons now adjust when there is limited screen space. 2016-12-21 12:13:03 +00:00
n1474335
9c1fb7ddf4 Added button to maximise the output window 2016-12-20 20:18:16 +00:00
n1474335
af4644c9eb Replaced jsHint with eslint. Fixes #4. 2016-12-14 16:39:17 +00:00
n1474335
8b0112229e BUGFIX #24: Invalid favourites loaded from localStorage are now escaped when reported to the user. 2016-11-30 23:11:06 +00:00
n1474335
2f0bc54046 BUGFIX #24: toggle_string arguments are now escaped before being inserted into the DOM. 2016-11-30 19:33:20 +00:00
n1474335
b1d73a725d Initial commit 2016-11-28 10:42:58 +00:00