mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Removed startup history list processing
Not needed anymore
This commit is contained in:
parent
292e55a154
commit
416ab0c060
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user