print-window-tiddler
Jermolene 2015-02-07 10:23:16 +00:00
rodzic 718ce3e4aa
commit b1bb52b67a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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";