changeset 1648:ffa3b81c6d95

some missing askedFor auditing Ignore-this: 581b102bbdaef0dc715e61430d639e01
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 10 Jun 2017 10:23:48 +0000
parents 67347c027b2a
children b48b0d9812cf
files light9/web/graph.coffee
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/graph.coffee	Sat Jun 10 10:19:35 2017 +0000
+++ b/light9/web/graph.coffee	Sat Jun 10 10:23:48 2017 +0000
@@ -290,6 +290,8 @@
       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 @@
     @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)