Hi all,
seems to me that the lack of global `setTimeOut` and `clearTimeOut` is a constant barrier to including libraries from npm in your extension built with jpm. Any plans on providing these instead of requiring the require of `sdk/timers`?
This is what I am currently working on, an extension targeting
both Chrome and Firefox:
https://github.com/monostable/1clickBOM I already had to include the
promise-rate-limit library as js source because of the lack of setTimeOut and am now looking at including Bluebird promises as a js in my source as well. As an alternative I might switch to using and external bundler like
browserify which is a shame since jpm already does the bundling and I
would just be bypassing it.
Cheers,
Kaspar
P.S.