mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Added dummy support for missing tiddlers and orphans
And also proper support for getShadowTitles()
This commit is contained in:
parent
ed28773178
commit
32ff9e46b1
@ -95,6 +95,7 @@ WikiStore.prototype.forEachTiddler = function(/* [sortField,[excludeTag,]]callba
|
||||
};
|
||||
|
||||
WikiStore.prototype.getTitles = function(sortField,excludeTag) {
|
||||
sortField = sortField || "title";
|
||||
var tiddlers = [];
|
||||
this.forEachTiddler(sortField,excludeTag,function(title,tiddler) {
|
||||
tiddlers.push(title);
|
||||
@ -102,6 +103,18 @@ WikiStore.prototype.getTitles = function(sortField,excludeTag) {
|
||||
return tiddlers;
|
||||
};
|
||||
|
||||
WikiStore.prototype.getMissingTitles = function() {
|
||||
return [];
|
||||
};
|
||||
|
||||
WikiStore.prototype.getOrphanTitles = function() {
|
||||
return [];
|
||||
};
|
||||
|
||||
WikiStore.prototype.getShadowTitles = function() {
|
||||
return this.shadows ? this.shadows.getTitles() : [];
|
||||
};
|
||||
|
||||
WikiStore.prototype.parseTiddler = function(title) {
|
||||
var tiddler = this.getTiddler(title);
|
||||
if(tiddler) {
|
||||
|
Loading…
Reference in New Issue
Block a user