From 4e0528e3dd86d54ca2afc3f463336698b5e06bca Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 10 Jun 2012 13:40:35 +0100 Subject: [PATCH] Fixed typo in recipe handling --- core/modules/recipe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/recipe.js b/core/modules/recipe.js index 6e4919450..082b2711f 100644 --- a/core/modules/recipe.js +++ b/core/modules/recipe.js @@ -33,7 +33,7 @@ exports["application/x-tiddlywiki-recipe"] = function(text,fields) { }, loadTiddlersFromFile = function(sourcePath,prefix) { var ext = path.extname(sourcePath), - extensionInfo = $tw.config.fileExtensions[ext], + extensionInfo = $tw.config.fileExtensionInfo[ext], typeInfo = extensionInfo ? $tw.config.contentTypeInfo[extensionInfo.type] : null, data = fs.readFileSync(sourcePath).toString(typeInfo ? typeInfo.encoding : "utf8"), fields = {title: sourcePath},