Add application/javascript as an alternate MIME type for JSON (used by Pinterest)

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2478 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-03-16 19:53:19 +00:00
parent 8dff3056e9
commit 70a6a28c59

View File

@ -256,6 +256,7 @@ function registerImporting() {
IM.registerMimeType("application/vnd.oasis.opendocument.spreadsheet","text/xml/ods"); IM.registerMimeType("application/vnd.oasis.opendocument.spreadsheet","text/xml/ods");
IM.registerMimeType("application/json", "text/json"); IM.registerMimeType("application/json", "text/json");
IM.registerMimeType("application/javascript", "text/json");
IM.registerMimeType("text/json", "text/json"); IM.registerMimeType("text/json", "text/json");
IM.registerMimeType("application/rdf+xml", "text/xml/rdf"); IM.registerMimeType("application/rdf+xml", "text/xml/rdf");