projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21614b
)
enable strict mode for highlight.js script
author
Dan Allen
<dan@opendevise.com>
Wed, 14 Aug 2019 00:13:09 +0000
(18:13 -0600)
committer
Dan Allen
<dan@opendevise.com>
Wed, 14 Aug 2019 00:13:09 +0000
(18:13 -0600)
src/js/vendor/highlight.bundle.js
patch
|
blob
|
history
diff --git
a/src/js/vendor/highlight.bundle.js
b/src/js/vendor/highlight.bundle.js
index
a1c560f
..
7408f1d
100644
(file)
--- a/
src/js/vendor/highlight.bundle.js
+++ b/
src/js/vendor/highlight.bundle.js
@@
-1,4
+1,6
@@
;(function () {
+ 'use strict'
+
var hljs = require('highlight.js/lib/highlight')
hljs.registerLanguage('apache', require('highlight.js/lib/languages/apache'))
hljs.registerLanguage('asciidoc', require('highlight.js/lib/languages/asciidoc'))