1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 11:37:20 +00:00
TiddlyWiki5/boot
Jeremy Ruston 36b162a377
Fix for tag ordering issue #6382 (#6383)
* Failing test

* Fix underlying problem

* Less naive fix

Now we make sure we maintain the sort order of the titles array when adding a new tiddler

* Fix failing tests

* Refactor filter tests to repeat them with different store orderings

* Revert "Fix failing tests"

This reverts commit ee03ee57f5.

* Refine fix to retain stylesheet ordering

The order of tiddlers in the HTML file uses localeCompare(), and that determines the insertion order. So if we want to be compatible with older versions we have to use localeCompare() to order tiddlers, not a plain sort()

* Don't sort shadow tiddlers

Instead rely on the existing ordering

* Fix failing tests, take 2

I think that all of these changes are explained by the store no longer retaining insertion order, but now using localecompare ordering

* Fix tests from #6327
2022-02-21 15:34:05 +00:00
..
boot.css.tid Tweaks for RSOD adjustments 7468ad7 2018-05-10 15:29:31 +01:00
boot.js Fix for tag ordering issue #6382 (#6383) 2022-02-21 15:34:05 +00:00
bootprefix.js Added sourceURL tags to boot js (#6381) 2022-01-03 17:25:40 +00:00
sjcl.js Update Stanford JavaScript Library to 1.0.7 2017-07-18 15:42:35 +01:00
sjcl.js.meta Make the core into a plugin 2013-03-28 17:07:30 +00:00