mirror of https://github.com/gogs/gogs.git
public/plugins: upgrade highlight.js 9.16.2 to 9.18.0
parent
2e00f00ab0
commit
19ae04da66
|
@ -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>
|
||||
|
|
|
@ -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
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue