Sha256: a6411c174d149291d64b54a4cfdca485b93e15d737d541655a76382a4ecf606b
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
/* Language: Python profile Description: Python profiler results Author: Brian Beck <exogen@gmail.com> */ hljs.LANGUAGES['profile'] = function(hljs) { return { defaultMode: { contains: [ hljs.C_NUMBER_MODE, { className: 'builtin', 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', begin: '\\(', end: '\\)$', contains: [{ className: 'title', begin: hljs.UNDERSCORE_IDENT_RE, relevance: 0 }], relevance: 0 } ] } }; }(hljs);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
highlight_js-rails-7.1.0 | vendor/assets/javascripts/highlight_js/languages/profile.js |