1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 15:30:47 +00:00

Removed startup history list processing

Not needed anymore
This commit is contained in:
Jeremy Ruston 2012-10-26 22:51:54 +01:00
parent 292e55a154
commit 416ab0c060

View File

@ -75,15 +75,11 @@ exports.startup = function() {
}
// Initialise the story and history
var storyTitle = "$:/StoryList",
historyTitle = "$:/HistoryList",
story = [],
history = [];
story = [];
for(var t=0; t<defaultTiddlers.length; t++) {
story[t] = defaultTiddlers[t];
history[defaultTiddlers.length - t - 1] = defaultTiddlers[t];
}
$tw.wiki.addTiddler({title: storyTitle, text: story.join("\n")});
$tw.wiki.addTiddler({title: historyTitle, text: history.join("\n")});
// If we're being viewed on a data: URI then give instructions for how to save
if(document.location.protocol === "data:") {
var event = document.createEvent("Event");