Closed bmatusiak closed 5 months ago
i use nwjs.. this is a mix of browser+nodejs
this PR fixes some loading of gun for that.
introducing a new look to exporting plugin modules that looks like this.
(function(name, exports){ if(typeof window !== "undefined"){ window[name] = window[name]||exports; } try{ module.exports = exports }catch(e){} })("Radix",Radix);
sexy!
i use nwjs.. this is a mix of browser+nodejs
this PR fixes some loading of gun for that.
introducing a new look to exporting plugin modules that looks like this.