1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-03-30 23:36:56 +00:00

Adjust cache names for parse caches

The old names were a hangover from an old refactoring.
This commit is contained in:
Jermolene 2015-07-08 08:26:19 +01:00
parent 203bc4b242
commit 8bfc6f3557

View File

@ -777,7 +777,7 @@ Parse a tiddler according to its MIME type
*/
exports.parseTiddler = function(title,options) {
options = $tw.utils.extend({},options);
var cacheType = options.parseAsInline ? "newInlineParseTree" : "newBlockParseTree",
var cacheType = options.parseAsInline ? "inlineParseTree" : "blockParseTree",
tiddler = this.getTiddler(title),
self = this;
return tiddler ? this.getCacheForTiddler(title,cacheType,function() {