mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
11 lines
241 B
JavaScript
11 lines
241 B
JavaScript
if(typeof window !== "undefined"){
|
|
var Gun = window.Gun;
|
|
} else {
|
|
var Gun = require('../gun');
|
|
}
|
|
Gun.chain.open || require('./open');
|
|
|
|
Gun.chain.load = function(cb, opt, at){
|
|
(opt = opt || {}).off = !0;
|
|
return this.open(cb, opt, at);
|
|
} |