1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-12 19:20:27 +00:00
TiddlyWiki5/core/modules/parsers
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
..
wikiparser Introduce true global variables 2022-05-28 12:23:50 +01:00
audioparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
binaryparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
csvparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
htmlparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
imageparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
parseutils.js Add utility function for parsing macro parameter definitions 2022-05-27 18:37:42 +01:00
pdfparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
textparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00
videoparser.js Make the macrocall widget delegate to the transclude widget 2022-05-08 20:48:33 +01:00