Fix ArrayBuffer in WebWorker
ARRAY_BUFFER constant was set using global ArrayBuffer, but here instance checking is made against root.ArrayBuffer. This breaks WebWorker which has no window. With this simple fix, I am successfully using it in WebWorker. Please tell me if you are interested in a pull request to make injecting into global object explicit and support ES6 modules.pull/5/head
parent
310922df3b
commit
b9c152b6cd
Loading…
Reference in New Issue