mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 23:17:02 +00:00
Added template support to list macro
This commit is contained in:
@@ -44,7 +44,13 @@ WikiStore.prototype.deleteTiddler = function(title) {
|
||||
};
|
||||
|
||||
WikiStore.prototype.tiddlerExists = function(title) {
|
||||
return this.tiddlers[title] instanceof Tiddler;
|
||||
var exists = this.tiddlers[title] instanceof Tiddler;
|
||||
if(exists) {
|
||||
return true;
|
||||
} else if (this.shadows) {
|
||||
return this.shadows.tiddlerExists(title);
|
||||
}
|
||||
return ;
|
||||
};
|
||||
|
||||
WikiStore.prototype.addTiddler = function(tiddler) {
|
||||
|
||||
Reference in New Issue
Block a user