mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-06 09:13:38 -08:00
wiki.extractTiddlerDataItem() should use caching
This commit is contained in:
parent
b9a835b879
commit
52a414959c
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ exports.getTiddlerData = function(titleOrTiddler,defaultData) {
|
|||
Extract an indexed field from within a data tiddler
|
||||
*/
|
||||
exports.extractTiddlerDataItem = function(titleOrTiddler,index,defaultText) {
|
||||
var data = this.getTiddlerData(titleOrTiddler,Object.create(null)),
|
||||
var data = this.getTiddlerDataCached(titleOrTiddler,Object.create(null)),
|
||||
text;
|
||||
if(data && $tw.utils.hop(data,index)) {
|
||||
text = data[index];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue