1
0
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:
Jermolene
2015-07-10 16:43:50 +01:00
parent 0c276c327b
commit 32f6d7f1b0
10 changed files with 55 additions and 23 deletions

View File

@@ -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";
}

View File

@@ -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";
}