1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 10:34:53 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/globals/Refresh.tid
jeremy@jermolene.com 613f4af20f Fix refreshing of global variables
Global variables access within attributes will automatically trigger a refresh if the attribute text changes, but that wasn't happening for transclusions.
2022-05-31 09:19:01 +01:00

31 lines
511 B
Plaintext

title: Globals/Refresh
description: Refreshing global procedures in shadow variables
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
<<this-is-one>>
|
<<this-is-one blah>>
+
title: $:/global/this-is-one
\whitespace trim
\procedure example()
ONE
\end
\parameters (foo:"nothing")
<<example>>-<$text text=<<foo>>/>
+
title: Actions
<$action-setfield $tiddler="$:/global/this-is-one" $value="Jackdaw"/>
+
title: ExpectedResult
<p>Jackdaw</p><p>|Jackdaw</p>