mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Added missing reference for global obj
This commit is contained in:
parent
d69c315023
commit
ef4b4ff795
@ -11,6 +11,10 @@
|
||||
* Author: Jachen Duschletta / 2019
|
||||
*/
|
||||
|
||||
// Get window or node Gun instance
|
||||
|
||||
var Gun = (typeof window !== "undefined")? window.Gun : require('../gun');
|
||||
|
||||
/*
|
||||
* Function promOnce
|
||||
* @param limit - due to promises resolving too fast if we do not set a timer
|
||||
|
Loading…
x
Reference in New Issue
Block a user