Commit b1b47111 authored by Gilles Mouchard's avatar Gilles Mouchard
Browse files

Fixed rule for coffescript file type.

parent 84e426f6
Pipeline #19376 passed with stages
in 113 minutes and 7 seconds
......@@ -846,7 +846,7 @@ class PKM
{ suffixes : [ '.pro' ], format : 'text', mime_types : [ 'text/x-prolog' ], collection : 'RawSourcecode' },
{ suffixes : [ '.clj' ], format : 'text', mime_types : [ 'text/x-clojure' ], collection : 'RawSourcecode' },
{ suffixes : [ '.cbl', '.cob' ], format : 'text', mime_types : [ 'text/x-cobol' ], collection : 'RawSourcecode' },
{ suffixes : [ '.coffee' ], format : 'text', mime_types : [ 'text/x-coffeescript' ], collection : 'RawSourcecode' },
{ suffixes : [ '.coffee', '.litcoffee' ], format : 'text', mime_types : [ 'text/x-coffeescript', 'text/coffeescript' ], collection : 'RawSourcecode' },
{ suffixes : [ '.cfm', '.cfml', '.cfc' ], format : 'text', mime_types : [ 'text/x-coldfusion' ], collection : 'RawSourcecode' },
{ suffixes : [ '.cl', '.jl', '.lisp', '.lsp' ], format : 'text', mime_types : [ 'text/x-common-lisp' ], collection : 'RawSourcecode' },
{ suffixes : [ '.d' ], format : 'text', mime_types : [ 'text/x-d' ], collection : 'RawSourcecode' },
......@@ -1045,7 +1045,6 @@ class PKM
{ suffixes : [ '.xwd' ], format : 'binary', mime_types : [ 'image/x-xwindowdump' ], collection : 'RawDocumentation' },
{ suffixes : [ '.appcache', '.manifest' ], format : 'text', mime_types : [ 'text/cache-manifest' ], collection : 'RawDocumentation' },
{ suffixes : [ '.ics', '.ifb' ], format : 'text', mime_types : [ 'text/calendar' ], collection : 'RawDocumentation' },
{ suffixes : [ '.coffee', '.litcoffee' ], format : 'text', mime_types : [ 'text/coffeescript' ], collection : 'RawDocumentation' },
{ suffixes : [ '.css' ], format : 'text', mime_types : [ 'text/css' ], collection : 'RawDocumentation' },
{ suffixes : [ '.csv' ], format : 'text', mime_types : [ 'text/csv' ], collection : 'RawDocumentation' },
{ suffixes : [ '.html', '.htm', '.shtml' ], format : 'text', mime_types : [ 'text/html' ], collection : 'RawDocumentation' },
......
......@@ -396,11 +396,13 @@
},
{
"suffixes": [
".coffee"
".coffee",
".litcoffee"
],
"format": "text",
"mime_types": [
"text/x-coffeescript"
"text/x-coffeescript",
"text/coffeescript"
],
"collection": "RawSourcecode"
},
......@@ -2389,17 +2391,6 @@
],
"collection": "RawDocumentation"
},
{
"suffixes": [
".coffee",
".litcoffee"
],
"format": "text",
"mime_types": [
"text/coffeescript"
],
"collection": "RawDocumentation"
},
{
"suffixes": [
".css"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment