status-go/geth/jail/internal
b00ris e911666b5d Fix make lint warnings (#417)
fixed make lint warnings
cleared linter_exclude_list.txt
removed some commented code
fixed comments from #388
2017-10-20 12:06:22 +03:00
..
fetch Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
loop Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
process Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
promise Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
timers Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
vm Refactor and cleanup Jail (#368) 2017-10-06 19:52:26 +03:00
LICENSE.md Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00
README.md Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00
main.go Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00

README.md

ottoext

Originally based on github.com/deoxxa/ottoext

GoDoc

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.