Browse Source

Suppressed lint warning

pull/204/merge
Vitaly Puzrin 9 years ago
parent
commit
8c11d9fc8d
  1. 1
      support/demo_template/index.js

1
support/demo_template/index.js

@ -96,6 +96,7 @@ defaults.highlight = function (str, lang) {
var result = hljs.highlightAuto(str); var result = hljs.highlightAuto(str);
/*eslint-disable no-console*/
console.log('highlight language: ' + result.language + ', relevance: ' + result.relevance); console.log('highlight language: ' + result.language + ', relevance: ' + result.relevance);
return '<pre class="hljs language-' + esc(result.language) + '"><code>' + return '<pre class="hljs language-' + esc(result.language) + '"><code>' +

Loading…
Cancel
Save