1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-18 14:10:28 +00:00
TiddlyWiki5/boot
Jermolene e282ff1d92 Fix problem with tiddler titled "undefined"
Fixes #2507

The problem stems from a JavaScript quirk: the fact that
`({“undefined":"Me"})[undefined]` returns “Me”. The quirk is that the
value `undefined` is coerced into the string “undefined” when used as
an index.

In this particular case, the code for `wiki.getTiddler()` was returning
the tiddler with the title `”undefined”` when called with the title set
to the value `undefined`. It happens that the pluginswitcher called
`wiki.getTiddler(undefined)`.
2016-07-22 11:31:02 +01:00
..
boot.css.tid Rename "tw-error-*" classes to "tc-error-*" 2014-08-28 17:39:32 +01:00
boot.js Fix problem with tiddler titled "undefined" 2016-07-22 11:31:02 +01:00
bootprefix.js Minor tweaks to boot kernel for AWS 2015-12-19 18:52:25 +00:00
sjcl.js Make the core into a plugin 2013-03-28 17:07:30 +00:00
sjcl.js.meta Make the core into a plugin 2013-03-28 17:07:30 +00:00