Show font icon for more font types

This commit is contained in:
Douglas Christopher Wilson
2018-02-21 23:24:56 -05:00
parent f31db046f6
commit 9d29665ce3
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -1,6 +1,7 @@
unreleased
==========
* Show font icon for more font types
* deps: mime-types@~2.1.18
- Add new mime types
- deps: mime-db@~1.33.0
+1 -3
View File
@@ -540,6 +540,7 @@ var icons = {
'folder': 'folder.png',
// generic mime type icons
'font': 'font.png',
'image': 'image.png',
'text': 'page_white_text.png',
'video': 'film.png',
@@ -550,7 +551,6 @@ var icons = {
'+zip': 'box.png',
// specific mime type icons
'application/font-woff': 'font.png',
'application/javascript': 'page_white_code_red.png',
'application/json': 'page_white_code.png',
'application/msword': 'page_white_word.png',
@@ -564,7 +564,6 @@ var icons = {
'application/vnd.oasis.opendocument.text': 'page_white_word.png',
'application/x-7z-compressed': 'box.png',
'application/x-sh': 'application_xp_terminal.png',
'application/x-font-ttf': 'font.png',
'application/x-msaccess': 'page_white_database.png',
'application/x-shockwave-flash': 'page_white_flash.png',
'application/x-sql': 'page_white_database.png',
@@ -618,7 +617,6 @@ var icons = {
'.map': 'map.png',
'.msi': 'box.png',
'.mv4': 'film.png',
'.otf': 'font.png',
'.pdb': 'page_white_database.png',
'.php': 'page_white_php.png',
'.pl': 'page_white_code.png',