lib/rouge/lexers/javascript.rb in rouge-1.3.3 vs lib/rouge/lexers/javascript.rb in rouge-1.3.4

- old
+ new

@@ -177,10 +177,10 @@ mixin :whitespace # special case for empty objects rule /(\{)(\s*)(\})/m do groups Punctuation, Text::Whitespace, Punctuation end - rule /(?:true|false)\b/, Keyword::Constant + rule /(?:true|false|null)\b/, Keyword::Constant rule /{/, Punctuation, :object_key rule /\[/, Punctuation, :array rule /-?(?:0|[1-9]\d*)\.\d+(?:e[+-]\d+)?/i, Num::Float rule /-?(?:0|[1-9]\d*)(?:e[+-]\d+)?/i, Num::Integer mixin :has_string