086747a695
Refactor jail so that it's more self-descriptive and easier to understand by newcomers. Also, the test coverage has been improved. Changes requiring status-react team actions: * Replace Parse calls with new CreateAndInitCell and ExecuteJS bindings, * Make sure web3.isConnected is ok as its response change to boolean value. |
||
---|---|---|
.. | ||
fetch | ||
loop | ||
process | ||
promise | ||
timers | ||
vm | ||
LICENSE.md | ||
README.md | ||
main.go |
README.md
ottoext
Originally based on github.com/deoxxa/ottoext
Overview
This package contains some extensions for the otto JavaScript interpreter. The
most important extension is a generic event loop based on code from natto. The
other extensions are setTimeout
and setInterval
support, Promise
support
(via native-promise-only
, MIT license), and fetch
support.
Examples
Take a look at the test files to see how the extensions work.
License
3-clause BSD. A copy is included with the source.