# HG changeset patch # User Drew Perttula # Date 2019-06-01 02:25:28 # Node ID bc8989d84bb25ce8a6922e906a04159805cbb94e # Parent 101bcb57b80fd64f0ddb3b96cb213922a7c84dd0 logging Ignore-this: 63818d7fdf78fb559575b3c09d2166df diff --git a/light9/web/graph.coffee b/light9/web/graph.coffee --- a/light9/web/graph.coffee +++ b/light9/web/graph.coffee @@ -368,6 +368,7 @@ class window.SyncedGraph 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 @@ class window.SyncedGraph 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 diff --git a/light9/web/live/live.coffee b/light9/web/live/live.coffee --- a/light9/web/live/live.coffee +++ b/light9/web/live/live.coffee @@ -296,6 +296,7 @@ class GraphToControls syncFromGraph: -> U = (x) => @graph.Uri(x) return if not @effect + log('syncFromGraph', @effect) toClear = new Set(@activeSettings.allSettingsStr())