Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
feat(ww): Full support for webworkers
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov authored and dmitriy ryajov committed Feb 11, 2017
1 parent 6beaf4b commit e073e08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ const IPFSRepo = require('ipfs-repo')
const repoContext = require.context('buffer!./test-repo', true)
const pull = require('pull-stream')

const idb = window.indexedDB ||
window.mozIndexedDB ||
window.webkitIndexedDB ||
window.msIndexedDB
const idb = self.indexedDB ||
self.mozIndexedDB ||
self.webkitIndexedDB ||
self.msIndexedDB

idb.deleteDatabase('ipfs')
idb.deleteDatabase('ipfs/blocks')
Expand Down

0 comments on commit e073e08

Please sign in to comment.