提交 f6ce5206 编写于 作者: A alteredq

Fixed handling of CTM data in the editor.

I think also UTF8 should be treated the same, it's also binary data.
上级 36f4b5e2
......@@ -94,7 +94,22 @@
};
reader.readAsText( file );
var binaryFormats = {
"ctm": true,
"utf8": true
};
if ( extension in binaryFormats ) {
reader.readAsBinaryString( file );
} else {
reader.readAsText( file );
}
}, false );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册