Set application/javascript as javascript mime tpye (#11621).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10195 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-08-13 12:39:11 +00:00
parent 163659d0a5
commit dbf41dba68
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,6 @@ module Redmine
'text/x-c' => 'c,cpp,cc,h,hh', 'text/x-c' => 'c,cpp,cc,h,hh',
'text/x-csharp' => 'cs', 'text/x-csharp' => 'cs',
'text/x-java' => 'java', 'text/x-java' => 'java',
'text/x-javascript' => 'js',
'text/x-html-template' => 'rhtml', 'text/x-html-template' => 'rhtml',
'text/x-perl' => 'pl,pm', 'text/x-perl' => 'pl,pm',
'text/x-php' => 'php,php3,php4,php5', 'text/x-php' => 'php,php3,php4,php5',
@ -45,6 +44,7 @@ module Redmine
'image/x-ms-bmp' => 'bmp', 'image/x-ms-bmp' => 'bmp',
'image/x-xpixmap' => 'xpm', 'image/x-xpixmap' => 'xpm',
'image/svg+xml'=> 'svg', 'image/svg+xml'=> 'svg',
'application/javascript' => 'js',
'application/pdf' => 'pdf', 'application/pdf' => 'pdf',
'application/rtf' => 'rtf', 'application/rtf' => 'rtf',
'application/msword' => 'doc', 'application/msword' => 'doc',