1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 03:19:56 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data
jeremy@jermolene.com f636349007 Introduce true global variables
The basic idea is that if we don't find a variable `foo` then we fallback to retrieving the value from the tiddler `$:/global/foo`, if it exists.

This allows us to replace the usual importvariables-based mechanism for global definitions, avoiding cluttering up the variable namespace with every macro.

In order to permit subprocedures to be overridden, we also introduce a mechanism for conditional definitions: preceding the word definition|procedure|function|widget with a + causes the definition only to occur if the specified variable doesn't already exist. In the next commit we'll apply this mechanism to the tabs macro
2022-05-28 12:23:50 +01:00
..
custom-operators Require period prefix for custom filter operator functions 2022-05-23 16:40:21 +01:00
deserializers Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
functions Allow custom functions to be invoked as attributes 2022-05-23 20:18:54 +01:00
genesis-widget Remove unneeded test tiddler 2022-05-25 18:04:32 +01:00
globals Introduce true global variables 2022-05-28 12:23:50 +01:00
tabs-macro Trim Saga: Another batch of medium-sized files (#6270) 2022-03-26 15:19:04 +00:00
transclude Remove accidental commit 6cc99fcbe3 2022-05-27 08:36:31 +01:00