Changeset - ffa3b81c6d95
[Not reviewed]
default
0 1 0
Drew Perttula - 8 years ago 2017-06-10 10:23:48
drewp@bigasterisk.com
some missing askedFor auditing
Ignore-this: 581b102bbdaef0dc715e61430d639e01
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/web/graph.coffee
Show inline comments
 
@@ -290,6 +290,8 @@ class window.SyncedGraph
 
      if current == RDF + 'nil'
 
        break
 
        
 
      @_autoDeps.askedFor(current, null, null, null) # a little loose
 

	
 
      firsts = @graph.findByIRI(current, RDF + 'first', null)
 
      rests = @graph.findByIRI(current, RDF + 'rest', null)
 
      if firsts.length != 1
 
@@ -321,6 +323,7 @@ class window.SyncedGraph
 
    @nextNumberedResources(base, 1)[0]       
 

	
 
  contextsWithPattern: (s, p, o) ->
 
    @_autoDeps.askedFor(s, p, o, null)
 
    ctxs = []
 
    for q in @graph.find(s, p, o)
 
      ctxs.push(q.graph)
0 comments (0 inline, 0 general)