mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Remove broken info tiddlers
We can’t currently detect TiddlyFox or TiddlyDesktop so we’’ll remove the corresponding info tiddlers and documentation
This commit is contained in:
parent
6298ffc516
commit
99eb556645
@ -64,10 +64,10 @@ exports.getInfoTiddlerFields = function() {
|
|||||||
}
|
}
|
||||||
infoTiddlerFields.push({title: "$:/info/browser/name", text: platform});
|
infoTiddlerFields.push({title: "$:/info/browser/name", text: platform});
|
||||||
// Non-bowser settings for TiddlyFox and TiddlyDesktop
|
// Non-bowser settings for TiddlyFox and TiddlyDesktop
|
||||||
var hasTiddlyFox = !!document.getElementById("tiddlyfox-message-box"),
|
var hasTiddlyFox = !!document.getElementById("tiddlyfox-message-box"), // Fails because message box is added after page load
|
||||||
isTiddlyDesktop = false; // Can't detect it until we update TiddlyDesktop to have a distinct useragent string
|
isTiddlyDesktop = false; // Can't detect it until we update TiddlyDesktop to have a distinct useragent string
|
||||||
infoTiddlerFields.push({title: "$:/info/browser/has/tiddlyfox", text: mapBoolean(hasTiddlyFox)});
|
//infoTiddlerFields.push({title: "$:/info/browser/has/tiddlyfox", text: mapBoolean(hasTiddlyFox)});
|
||||||
infoTiddlerFields.push({title: "$:/info/browser/is/tiddlydesktop", text: mapBoolean(isTiddlyDesktop)});
|
//infoTiddlerFields.push({title: "$:/info/browser/is/tiddlydesktop", text: mapBoolean(isTiddlyDesktop)});
|
||||||
if(isTiddlyDesktop) {
|
if(isTiddlyDesktop) {
|
||||||
infoTiddlerFields.push({title: "$:/info/browser/name", text: "TiddlyDesktop"});
|
infoTiddlerFields.push({title: "$:/info/browser/name", text: "TiddlyDesktop"});
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@ This plugin adds a number of `$:/info/` tiddlers containing information about th
|
|||||||
! Information Tiddlers
|
! Information Tiddlers
|
||||||
|
|
||||||
|!Title |!Description |
|
|!Title |!Description |
|
||||||
|[[$:/info/browser/has/tiddlyfox]] |Is TiddlyFox available? ("yes" or "no") |
|
|
||||||
|[[$:/info/browser/is/android]] |Running on Android? ("yes" or "no") |
|
|[[$:/info/browser/is/android]] |Running on Android? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/bada]] |Running on Bada? ("yes" or "no") |
|
|[[$:/info/browser/is/bada]] |Running on Bada? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/blackberry]] |Running on Blackberry? ("yes" or "no") |
|
|[[$:/info/browser/is/blackberry]] |Running on Blackberry? ("yes" or "no") |
|
||||||
@ -23,7 +22,6 @@ This plugin adds a number of `$:/info/` tiddlers containing information about th
|
|||||||
|[[$:/info/browser/is/sailfish]] |Running on Sailfish? ("yes" or "no") |
|
|[[$:/info/browser/is/sailfish]] |Running on Sailfish? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/seamonkey]] |Running on Sea Monkey? ("yes" or "no") |
|
|[[$:/info/browser/is/seamonkey]] |Running on Sea Monkey? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/silk]] |Running on Amazon's Silk? ("yes" or "no") |
|
|[[$:/info/browser/is/silk]] |Running on Amazon's Silk? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/tiddlydesktop]] |Running on TiddlyDesktop? ("yes" or "no") |
|
|
||||||
|[[$:/info/browser/is/tizen]] |Running on Tizen? ("yes" or "no") |
|
|[[$:/info/browser/is/tizen]] |Running on Tizen? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/webkit]] |Running on WebKit? ("yes" or "no") |
|
|[[$:/info/browser/is/webkit]] |Running on WebKit? ("yes" or "no") |
|
||||||
|[[$:/info/browser/is/webos]] |Running on WebOS? ("yes" or "no") |
|
|[[$:/info/browser/is/webos]] |Running on WebOS? ("yes" or "no") |
|
||||||
|
Loading…
Reference in New Issue
Block a user