From a7f1306e3b73515a3f8b0411c819c8f8b4b4d47b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 26 Apr 2008 01:41:38 +0000 Subject: [PATCH] Closes #998, Add FreeMind files to external text extensions array Adds video/x-flv content detection --- chrome/content/zotero/xpcom/mime.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/mime.js b/chrome/content/zotero/xpcom/mime.js index 5cc29cd1a..7750fbcf4 100644 --- a/chrome/content/zotero/xpcom/mime.js +++ b/chrome/content/zotero/xpcom/mime.js @@ -48,7 +48,9 @@ Zotero.MIME = new function(){ ["GIF8", 'image/gif', 0], ["\uFFFDPNG", 'image/png', 0], ["PK\x03\x04", "application/vnd.oasis.opendocument.text", 0], - ["JFIF", 'image/jpeg'] + ["JFIF", 'image/jpeg'], + ["FLV", "video/x-flv", 0] + ]; var _textTypes = { @@ -73,7 +75,8 @@ Zotero.MIME = new function(){ // Extensions of text files (generally XML) to force to be external var _externalTextExtensions = { - 'graffle': true + graffle: true, + mm: true };