Skip to content
Permalink
Browse files

Updated profile.js to new class names.

  • Loading branch information...
isagalaev committed Jul 25, 2015
1 parent 10e42a2 commit 686bc091eb478d471a6093bf5e9ed3f8675bd1cb
Showing with 2 additions and 14 deletions.
  1. +2 −14 src/languages/profile.js
@@ -9,37 +9,25 @@ function(hljs) {
contains: [
hljs.C_NUMBER_MODE,
{
className: 'built_in',
begin: '{', end: '}$',
excludeBegin: true, excludeEnd: true,
contains: [hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE],
relevance: 0
},
{
className: 'filename',
begin: '[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}', end: ':',
excludeEnd: true
},
{
className: 'header',
begin: '(ncalls|tottime|cumtime)', end: '$',
keywords: 'ncalls tottime|10 cumtime|10 filename',
relevance: 10
},
{
className: 'summary',
begin: 'function calls', end: '$',
contains: [hljs.C_NUMBER_MODE],
relevance: 10
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
className: 'function',
className: 'string',
begin: '\\(', end: '\\)$',
contains: [
hljs.UNDERSCORE_TITLE_MODE
],
excludeBegin: true, excludeEnd: true,
relevance: 0
}
]

0 comments on commit 686bc09

Please sign in to comment.
You can’t perform that action at this time.