mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-02 08:33:01 +00:00
Revert getTiddlerData() and add getTiddlerDataCached()
For backwards compatibility, we now explicitly request the cacheable version of this method. Fixes #1873
This commit is contained in:
@@ -43,7 +43,7 @@ Command.prototype.execute = function() {
|
||||
basepath = this.params[2],
|
||||
skinnyListTitle = this.params[3];
|
||||
// Get the container tiddler as data
|
||||
var containerData = self.commander.wiki.getTiddlerData(containerTitle,undefined);
|
||||
var containerData = self.commander.wiki.getTiddlerDataCached(containerTitle,undefined);
|
||||
if(!containerData) {
|
||||
return "'" + containerTitle + "' is not a tiddler bundle";
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ Command.prototype.execute = function() {
|
||||
}
|
||||
var self = this,
|
||||
title = this.params[0],
|
||||
pluginData = this.commander.wiki.getTiddlerData(title);
|
||||
pluginData = this.commander.wiki.getTiddlerDataCached(title);
|
||||
if(!pluginData) {
|
||||
return "Plugin '" + title + "' not found";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user