1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 17:53:15 +00:00
TiddlyWiki5/core/modules
Felix Hayashi 740627795f This widget allows the user to set multiple variables in one go.
It thereby reduces code complexity that would arise when setting
many variables using "<$set>".

```
\define helloworld() Hello world!
<$vars greeting="Hi" me={{!!title}} sentence=<<helloworld>>>
  <<greeting>>! I am <<me>> and I say: <<sentence>>
</$vars>
```

How this Widget differs from the set widget:

 * Variables may be created by using the "key=value" notation
   that you already know from widgets like action-setfield.
 * You cannot specify a fallback ("emptyValue")
 * You cannot use a filter to produce a conditional variable assignement

Original discussion that led to the creation of this widget:
https://github.com/Jermolene/TiddlyWiki5/issues/1610
2015-04-27 17:07:13 +02:00
..
commands Lots of improvements to the plugin library 2015-03-18 11:46:28 +00:00
filters Removed uneeded function but still converts TW5 Date strings. 2015-03-13 13:14:30 -05:00
info Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
macros Move making a data uri into reusable utilities 2015-03-18 11:40:09 +00:00
parsers Sandbox HTML iframes 2015-01-28 13:50:39 +00:00
savers Filename will now be set to "tiddlywiki.html" when path does not contain a filename. 2014-12-16 00:53:20 +01:00
startup added localisation for encryption dialog & de-DE translation 2015-03-18 18:52:33 +01:00
storyviews Avoid unnecessary scrolling at startup 2015-02-10 22:40:38 +00:00
upgraders Fix problems with $tw.utils.checkVersions() 2015-02-12 23:04:20 +00:00
utils Missed off 7c9976f1d9 2015-04-02 15:22:50 +01:00
widgets This widget allows the user to set multiple variables in one go. 2015-04-27 17:07:13 +02:00
commander.js Improve error message for missing commands 2014-11-09 14:49:33 +00:00
config.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
deserializers.js Fix JSON deserialiser to allow all fields 2014-11-13 16:04:30 +00:00
filters.js Improve a couple of comments 2015-01-14 20:09:15 +00:00
language.js Make more core strings be translateable 2014-03-20 20:55:59 +00:00
pluginswitcher.js disable enqueueTiddlerEvent during plugin switching 2014-11-01 16:32:52 +03:00
saver-handler.js Switch from addEventListener to onbeforeunload 2015-01-10 18:08:12 +00:00
syncer.js Switch from addEventListener to onbeforeunload 2015-01-10 18:08:12 +00:00
tiddler.js More resilience to Tiddler.isEqual() 2014-11-09 21:47:00 +00:00
wiki.js Extend wiki.makeTranscludeWidget() to control mode 2015-03-18 11:39:50 +00:00