mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +00:00
31 lines
511 B
Plaintext
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>
|