1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-12 13:53:13 +00:00

fix detection of dependents

This commit is contained in:
BurningTreeC 2024-10-26 08:36:10 +02:00
parent 743b465025
commit d268fd7868

View File

@ -1,7 +1,7 @@
title: $:/core/functions/themes
tags: $:/tags/Global
\function get.base.theme.metric.recursive(theme,metric) [<theme>get[dependents]enlist-input[]] :map[function[get.base.theme.metric],<currentTiddler>,<metric>]
\function get.base.theme.metric.recursive(theme,metric) [<theme>get[dependents]enlist-input[]first[]] :map[function[get.base.theme.metric],<currentTiddler>,<metric>]
\function get.base.theme.metric(theme,metric) [<theme>addsuffix[/metrics/]addsuffix<metric>!is[missing]] :else[<theme>addsuffix[/metrics/]addsuffix<metric>is[shadow]] :else[function[get.base.theme.metric.recursive],<theme>,<metric>]
@ -9,7 +9,7 @@ tags: $:/tags/Global
\function get.theme.metric(metric) [function[get.base.theme.metric],{$:/theme},<metric>first[]get[text]]
\function get.base.theme.option.recursive(theme,option) [<theme>get[dependents]enlist-input[]] :map[function[get.base.theme.option],<currentTiddler>,<option>]
\function get.base.theme.option.recursive(theme,option) [<theme>get[dependents]enlist-input[]first[]] :map[function[get.base.theme.option],<currentTiddler>,<option>]
\function get.base.theme.option(theme,option) [<theme>addsuffix[/options/]addsuffix<option>!is[missing]] :else[<theme>addsuffix[/options/]addsuffix<option>is[shadow]] :else[function[get.base.theme.option.recursive],<theme>,<option>]
@ -19,7 +19,7 @@ tags: $:/tags/Global
\function set.theme.metric(metric) [function[get.base.theme.metric],{$:/theme},<metric>is[shadow]] :else[function[get.base.theme.metric],{$:/theme},<metric>!is[shadow]!is[missing]] :else[[$:/themes/tiddlywiki/vanilla/metrics/]addsuffix<metric>]
\function get.base.functions.theme.recursive(theme) [<theme>get[dependents]enlist-input[]] :map[function[get.base.functions.theme],<currentTiddler>]
\function get.base.functions.theme.recursive(theme) [<theme>get[dependents]enlist-input[]first[]] :map[function[get.base.functions.theme],<currentTiddler>]
\function get.base.functions.theme(theme) [<theme>addsufix[/functions]!is[missing]] :else[<theme>addsuffix[/functions]is[shadow]] :else[function[get.base.functions.theme.recursive],<theme>]