Skip to content

Commit

Permalink
Merge pull request #292 from futurepress/request_html
Browse files Browse the repository at this point in the history
Updates Request to detect file types
  • Loading branch information
fchasen committed Oct 24, 2015
2 parents 32788bf + 2731129 commit 93f51ef
Show file tree
Hide file tree
Showing 11 changed files with 254 additions and 190 deletions.
144 changes: 83 additions & 61 deletions build/epub.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/epub.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/epub.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/epub.min.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions libs/mime-types/mime-types.js
Expand Up @@ -14,7 +14,7 @@
"rdf+xml" : "rdf",
"smil" : [ "smi", "smil" ],
"xhtml+xml" : [ "xhtml", "xht" ],
"xml" : [ "xml", "xsl", "xsd" ],
"xml" : [ "xml", "xsl", "xsd", "opf" ],
"zip" : "zip",
"x-httpd-eruby" : "rhtml",
"x-latex" : "latex",
Expand All @@ -30,7 +30,7 @@
"mathml+xml" : "mathml",
"metalink+xml" : "metalink",
"mp4" : "mp4s",
"oebps-package+xml" : "opf",
// "oebps-package+xml" : "opf",
"omdoc+xml" : "omdoc",
"oxps" : "oxps",
"vnd.amazon.ebook" : "azw",
Expand Down Expand Up @@ -195,4 +195,4 @@
return filename && mimeTypes[filename.split(".").pop().toLowerCase()] || defaultValue;
};

})();
})();
2 changes: 1 addition & 1 deletion reader/js/epub.js.map

Large diffs are not rendered by default.

0 comments on commit 93f51ef

Please sign in to comment.