1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-29 21:45:16 +00:00

Sort out info mechanism docs

Some of it belongs in the browser-sniff plugin

Also add a `$:/info/node` info tiddler.
This commit is contained in:
Jermolene
2014-07-22 15:16:18 +01:00
parent 7916553b99
commit fd82112700
3 changed files with 56 additions and 46 deletions

View File

@@ -17,6 +17,7 @@ exports.getInfoTiddlerFields = function() {
infoTiddlerFields = [];
// Basics
infoTiddlerFields.push({title: "$:/info/browser", text: mapBoolean(!!$tw.browser)});
infoTiddlerFields.push({title: "$:/info/node", text: mapBoolean(!!$tw.node)});
return infoTiddlerFields;
};