Fixed typo in recipe handling

print-window-tiddler
Jeremy Ruston 2012-06-10 13:40:35 +01:00
rodzic 3e49513c73
commit 4e0528e3dd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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},