mirror of
https://github.com/status-im/status-go.git
synced 2025-02-10 05:45:30 +00:00
* Enable gometalinter on tests and fix static analysis issues * Remove unneeded change * Fix additional lint errors * Add nolint directives and error checks * Add error assertions instead of nolint directives * Go back to using lint directive for loop.Run goroutine * Add error check to loop.Run
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.