From 6b1af720386eca6ee1597e46f251dcba336e6b2d Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Sun, 31 Mar 2019 12:28:27 -0700 Subject: [PATCH] quick fix --- examples/style.css | 6 ------ gun.js | 2 +- lib/rls.js | 3 +-- package.json | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/examples/style.css b/examples/style.css index 60a80715..fb469541 100644 --- a/examples/style.css +++ b/examples/style.css @@ -1,13 +1,7 @@ html, body { margin: 0; padding: 0; - font-family: 'Oxygen', 'Trebuchet MS', arial; position: relative; - b-ackground: black; - c-olor: white; -} - -body { font-size: 18pt; } diff --git a/gun.js b/gun.js index d7570667..6cb9957e 100644 --- a/gun.js +++ b/gun.js @@ -1404,7 +1404,7 @@ } if(Gun.is(data)){ data.get(function(soul, o, msg){ - if(!soul && Gun.val.is(msg.put)){ + if(!soul){ return Gun.log("The reference you are saving is a", typeof msg.put, '"'+ msg.put +'", not a node (object)!'); } gun.put(Gun.val.link.ify(soul), cb, as); diff --git a/lib/rls.js b/lib/rls.js index 4f29d5ac..f01f7801 100644 --- a/lib/rls.js +++ b/lib/rls.js @@ -10,10 +10,9 @@ opt = opt || {}; opt.file = String(opt.file || 'radata'); if(Gun.TESTING){ opt.file = 'radatatest' } - var ls = localStorage; - var store = function Store(){}; + var ls = localStorage; store.put = function(key, data, cb){ ls[''+key] = data; cb(null, 1) } store.get = function(key, cb){ cb(null, ls[''+key]) } diff --git a/package.json b/package.json index a9eb2024..f11dbb10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gun", - "version": "0.2019.323", + "version": "0.2019.331", "description": "A realtime, decentralized, offline-first, graph data synchronization engine.", "main": "index.js", "browser": "gun.js",