Changeset - bc8989d84bb2
[Not reviewed]
default
0 2 0
Drew Perttula - 6 years ago 2019-06-01 02:25:28
drewp@bigasterisk.com
2 files changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/web/graph.coffee
Show inline comments
 
@@ -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
light9/web/live/live.coffee
Show inline comments
 
@@ -296,6 +296,7 @@ class GraphToControls
 
  syncFromGraph: ->
 
    U = (x) => @graph.Uri(x)
 
    return if not @effect
 
    log('syncFromGraph', @effect)
 
    
 
    toClear = new Set(@activeSettings.allSettingsStr())
 
    
0 comments (0 inline, 0 general)