changeset 1903:bc8989d84bb2

logging Ignore-this: 63818d7fdf78fb559575b3c09d2166df
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 01 Jun 2019 02:25:28 +0000
parents 101bcb57b80f
children 5f31e02fbf70
files light9/web/graph.coffee light9/web/live/live.coffee
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/graph.coffee	Sat Jun 01 01:13:54 2019 +0000
+++ b/light9/web/graph.coffee	Sat Jun 01 02:25:28 2019 +0000
@@ -368,6 +368,7 @@
 
   contains: (s, p, o) ->
     @_autoDeps.askedFor(s, p, o, null)
+    log('contains calling getQuads when graph has ', 
     return @graph.getQuads(s, p, o).length > 0
 
   nextNumberedResources: (base, howMany) ->
@@ -387,6 +388,7 @@
       uri = @Uri("#{base}#{serial}")
       if not @contains(uri, null, null)
         results.push(uri)
+        log('nextNumberedResources', "picked #{uri}")
         @_nextNumber.set(base, serial + 1)
         if results.length >= howMany
           return results
--- a/light9/web/live/live.coffee	Sat Jun 01 01:13:54 2019 +0000
+++ b/light9/web/live/live.coffee	Sat Jun 01 02:25:28 2019 +0000
@@ -296,6 +296,7 @@
   syncFromGraph: ->
     U = (x) => @graph.Uri(x)
     return if not @effect
+    log('syncFromGraph', @effect)
     
     toClear = new Set(@activeSettings.allSettingsStr())