mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-18 05:02:52 +00:00
f636349007
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 |
||
---|---|---|
.. | ||
data | ||
test-action-widgets.js | ||
test-backlinks.js | ||
test-checkbox-widget.js | ||
test-compare-filter.js | ||
test-deserializers.js | ||
test-filters.js | ||
test-html-parser.js | ||
test-json-filters.js | ||
test-linked-list.js | ||
test-parsetextreference.js | ||
test-prefixes-filter.js | ||
test-tags.js | ||
test-tiddler.js | ||
test-utils.js | ||
test-widget.js | ||
test-wikitext-parser.js | ||
test-wikitext-tabs-macro.js | ||
test-wikitext.js |