mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Still fighting with Mocha wrapup & Buffer
This commit is contained in:
parent
44181b983e
commit
b8a78cc128
@ -24,9 +24,9 @@ var root;
|
||||
}
|
||||
}(this));
|
||||
|
||||
const Buffer = root.Gun.SEA.Buffer
|
||||
const Buffer = Gun.SEA.Buffer || require('buffer')
|
||||
|
||||
const seaIndexedDb = new root.Gun.SEA.EasyIndexedDB('SEA', 'GunDB', 1)
|
||||
const seaIndexedDb = new Gun.SEA.EasyIndexedDB('SEA', 'GunDB', 1)
|
||||
|
||||
const checkIndexedDB = (key, prop, resolve_) => {
|
||||
const doIt = (resolve, reject) => seaIndexedDb.get(key, prop)
|
||||
|
Loading…
x
Reference in New Issue
Block a user