1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-23 19:57:38 +00:00

Re-introduce listviews

Now called storyviews because they're aware of the history structure as
well as the list structure.
This commit is contained in:
Jeremy Ruston
2013-11-04 22:22:28 +00:00
parent 63243c5855
commit 7c250fd7fe
4 changed files with 158 additions and 12 deletions

View File

@@ -78,7 +78,9 @@ exports.startup = function() {
});
// Install the scroller
$tw.pageScroller = new $tw.utils.PageScroller();
$tw.rootWidget.addEventListener("tw-scroll",$tw.pageScroller);
$tw.rootWidget.addEventListener("tw-scroll",function(event) {
$tw.pageScroller.handleEvent(event);
});
// Install the save action handler
$tw.wiki.initSavers();
$tw.rootWidget.addEventListener("tw-save-wiki",function(event) {