diff options
author | silverwind <me@silverwind.io> | 2020-01-28 22:57:20 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2020-01-28 23:57:20 +0200 |
commit | b9690d7c0b4980c46b3416e36478fa0140dd5f9e (patch) | |
tree | 9395508c79655a7807f98de4d0a4fd75267f6a76 /public/vendor/librejs.html | |
parent | d879353632c5220c8ac0e3831311ebfe7cf357fe (diff) | |
download | gitea-b9690d7c0b4980c46b3416e36478fa0140dd5f9e.tar.gz gitea-b9690d7c0b4980c46b3416e36478fa0140dd5f9e.zip |
move highlight.js to npm/webpack (#10011)
- introduced window.config to help with js-based lazy-loading
- adjusted webpack chunk naming to avoid 'vendors~name.js' that webpack
defaults to for vendor chunks.
- added theme class to html and prefixed all selectors. this is
neccesary so that the theme styles win over the lazy-loaded ones.
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'public/vendor/librejs.html')
-rw-r--r-- | public/vendor/librejs.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/vendor/librejs.html b/public/vendor/librejs.html index c7bd062626..0e9201094f 100644 --- a/public/vendor/librejs.html +++ b/public/vendor/librejs.html @@ -66,9 +66,9 @@ <td><a href="https://github.com/enyo/dropzone/archive/v4.2.0.tar.gz">dropzone.js-4.2.0.tar.gz</a></td> </tr> <tr> - <td><a href="./plugins/highlight/highlight.pack.js">highlight.pack.js</a></td> + <td><a href="./highlight.js">highlight.js</a></td> <td><a href="https://github.com/highlightjs/highlight.js/blob/master/LICENSE">BSD 3-Clause</a></td> - <td><a href="https://github.com/highlightjs/highlight.js/archive/2b46620c.tar.gz">highlight.js-2b46620c.tar.gz</a></td> + <td><a href="https://github.com/highlightjs/highlight.js/archive/9.18.0.tar.gz">highlight.js.tar.gz</a></td> </tr> <tr> <td><a href="./plugins/jquery.datetimepicker/jquery.datetimepicker.js">jquery.datetimepicker.js</a></td> |