From b1bb52b67a5af8a41e9e7648357a4dc73706a669 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 7 Feb 2015 10:23:16 +0000 Subject: [PATCH] Fix typo from 8cd0c2afcd0a971ede1bb856d19e23afbe5647a1 --- boot/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index 8d2d877c1..7598a15e7 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -410,7 +410,7 @@ Given an extension, get the correct encoding for that file. defaults to utf8 */ $tw.utils.getTypeEncoding = function(ext) { - var extensionInfo = $tw.util.getFileExtensionInfo(ext), + var extensionInfo = $tw.utils.getFileExtensionInfo(ext), type = extensionInfo ? extensionInfo.type : null, typeInfo = type ? $tw.config.contentTypeInfo[type] : null; return typeInfo ? typeInfo.encoding : "utf8";