lib/rouge/lexers/javascript.rb in rouge-1.10.1 vs lib/rouge/lexers/javascript.rb in rouge-1.11.0

- old
+ new

@@ -204,10 +204,11 @@ class JSON < RegexLexer desc "JavaScript Object Notation (json.org)" tag 'json' filenames '*.json' - mimetypes 'application/json', 'application/vnd.api+json' + mimetypes 'application/json', 'application/vnd.api+json', + 'application/hal+json' # TODO: is this too much of a performance hit? JSON is quite simple, # so I'd think this wouldn't be too bad, but for large documents this # could mean doing two full lexes. def self.analyze_text(text)