changeset 1739:7e66643b3f54

quieter graph logs Ignore-this: f24071530e1ecc5c2b7a7de184f438ac
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 18 May 2018 07:54:06 +0000
parents a2faa1b70dbe
children 7cb53b510a6a
files light9/web/graph.coffee light9/web/rdfdb-synced-graph.html
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/graph.coffee	Thu May 17 07:44:34 2018 +0000
+++ b/light9/web/graph.coffee	Fri May 18 07:54:06 2018 +0000
@@ -224,9 +224,9 @@
     # This is the only method that writes to @graph!
     @cachedFloatValues.clear()
     for quad in patch.delQuads
-      log("remove #{JSON.stringify(quad)}")      
+      #log("remove #{JSON.stringify(quad)}")      
       did = @graph.removeQuad(quad)
-      log("removed: #{did}")
+      #log("removed: #{did}")
     for quad in patch.addQuads
       @graph.addQuad(quad)
     #log('applied patch locally', patchSizeSummary(patch))
@@ -261,7 +261,6 @@
   _singleValue: (s, p) ->
     @_autoDeps.askedFor(s, p, null, null)
     quads = @graph.getQuads(s, p)
-    console.log('got',quads)
     objs = new Set(q.object for q in quads)
     
     switch objs.size
--- a/light9/web/rdfdb-synced-graph.html	Thu May 17 07:44:34 2018 +0000
+++ b/light9/web/rdfdb-synced-graph.html	Fri May 18 07:54:06 2018 +0000
@@ -9,7 +9,7 @@
      :host {
          display: inline-block;
          border: 1px solid gray;
-         width: 18em;
+         width: 20em;
          background: #05335a;
          color: #4fc1d4;
      }