public/plugins: upgrade highlight.js 9.16.2 to 9.18.0

pull/5913/head
Unknwon 2020-01-31 23:33:47 +08:00
parent 2e00f00ab0
commit 19ae04da66
No known key found for this signature in database
GPG Key ID: AD9191DE07E9EAFA
7 changed files with 7 additions and 11 deletions

View File

@ -46,9 +46,9 @@
<td><a href="/plugins/dropzone-5.5.0/dropzone.min.js">dropzone.min.js</a></td>
</tr>
<tr>
<td><a href="/plugins/highlight-9.16.2/highlight.pack.js">highlight.pack.js</a></td>
<td><a href="/plugins/highlight-9.18.0/highlight.pack.js">highlight.pack.js</a></td>
<td><a href="https://github.com/isagalaev/highlight.js/blob/master/LICENSE">BSD 3 Clause</a></td>
<td><a href="https://github.com/isagalaev/highlight.js/archive/9.16.2.tar.gz">highlight.js-9.16.2.tar.gz</a></td>
<td><a href="https://github.com/isagalaev/highlight.js/archive/9.18.0.tar.gz">highlight.js-9.18.0.tar.gz</a></td>
</tr>
<tr>
<td><a href="/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js">jquery.datetimepicker.js</a></td>

View File

@ -1203,11 +1203,6 @@ $(document).ready(function () {
$($(this).data('target')).slideToggle(100);
});
// Highlight JS
if (typeof hljs != 'undefined') {
hljs.initHighlightingOnLoad();
}
// Dropzone
var $dropzone = $('#dropzone');
if ($dropzone.length > 0) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,8 +34,9 @@
<!-- Third-party libraries -->
{{if .RequireHighlightJS}}
<link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.16.2/github.css">
<script src="{{AppSubURL}}/plugins/highlight-9.16.2/highlight.pack.js"></script>
<link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.18.0/github.css">
<script src="{{AppSubURL}}/plugins/highlight-9.18.0/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{end}}
{{if .RequireMinicolors}}
<link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">