Hi Chris

I've slightly changed the format for representing dependencies. They
are now encapsulated in a class:

https://github.com/Jermolene/TiddlyWiki5/blob/master/js/Dependencies.js

As you can see, you can now enumerate the members of
parseTree.dependencies.tiddlers, which will have the value 'true' if
the dependency is on the fat version of the tiddler, or 'false' if it
is just on the skinny version.

I hope that makes things a bit more convenient,

Best wishes

Jeremy

On Fri, Feb 10, 2012 at 10:40 PM,  <[email protected]> wrote:
> On Fri, 10 Feb 2012, Jeremy Ruston wrote:
>
>> The reason why you are only getting the immediate dependencies of the
>> tiddlers you parse is that the further dependencies can't be computed
>> until
>> those immediate dependencies have been loaded and parsed. Your code is
>> part
>> of the process of progressively loading those tiddlers, reading out their
>> dependencies, and recursing back to load them. The parser can't give you
>> all the dependencies of a tiddler until it's examined all the other
>> tiddlers that it references with the "include" dependency.
>
>
> Ah, yeah, of course. I was having a mental conflation of parsing and
> rendering etc.
>
> I'll do some more poking about.
>
>
> --
> Chris Dent                                   http://burningchrome.com/
>                                [...]
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/tiddlywikidev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to