mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Buffer fight continues
Gun & SEA need better modularization to support other than html script tags properly!
This commit is contained in:
parent
b8a78cc128
commit
ac743b11e5
@ -24,7 +24,7 @@ var root;
|
||||
}
|
||||
}(this));
|
||||
|
||||
const Buffer = Gun.SEA.Buffer || require('buffer')
|
||||
const Buffer = (Gun.SEA && Gun.SEA.Buffer) || require('buffer')
|
||||
|
||||
const seaIndexedDb = new Gun.SEA.EasyIndexedDB('SEA', 'GunDB', 1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user