kopia lustrzana https://gitlab.com/rysiekpl/libresilient
stub tests pass for plugins
rodzic
83d88647bf
commit
e7958b9504
|
@ -99,8 +99,12 @@ if (typeof window === 'undefined') {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
}
|
}
|
||||||
self.log(config.name, 'setting up Gun...')
|
self.log(config.name, 'setting up Gun...')
|
||||||
gun = Gun(config.gunNodes);
|
try {
|
||||||
self.log(config.name, '+-- gun loaded :: gun is : ' + typeof gun);
|
gun = Gun(config.gunNodes);
|
||||||
|
self.log(config.name, '+-- gun loaded :: gun is : ' + typeof gun);
|
||||||
|
} catch(e) {
|
||||||
|
self.log(config.name, 'Error setting up Gun: ' + e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ( (gun !== false) && (gun !== undefined) ) {
|
if ( (gun !== false) && (gun !== undefined) ) {
|
||||||
if (gunUser === undefined) {
|
if (gunUser === undefined) {
|
||||||
|
|
Ładowanie…
Reference in New Issue