projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3bd19
)
activate syntax highlighting immediately instead of deferring until load
author
Dan Allen
<dan@opendevise.com>
Wed, 14 Aug 2019 00:13:51 +0000
(18:13 -0600)
committer
Dan Allen
<dan@opendevise.com>
Wed, 14 Aug 2019 00:13:51 +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
1662c7b
..
18b28b4
100644
(file)
--- a/
src/js/vendor/highlight.bundle.js
+++ b/
src/js/vendor/highlight.bundle.js
@@
-36,5
+36,5
@@
hljs.registerLanguage('swift', require('highlight.js/lib/languages/swift'))
hljs.registerLanguage('xml', require('highlight.js/lib/languages/xml'))
hljs.registerLanguage('yaml', require('highlight.js/lib/languages/yaml'))
- hljs.initHighlighting
OnLoad
()
+ hljs.initHighlighting()
})()