I wanted to use the lib in a Web Worker but there is no `window`. I believe it is as simple as adding ` || self.indexedDB` to the line where `var indexedDB` is set.
I wanted to use the lib in a Web Worker but there is no
window.I believe it is as simple as adding
|| self.indexedDBto the line wherevar indexedDBis set.