mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-12-01 06:16:09 +01:00
27e3cddfbe
This should eliminate page freezes when loading big files/diff. `highlightBlock` is needed to preserve existing nodes when highlighting and for that, highlight.js needs access to the DOM API so I added a DOM implementation to make it work, which adds around 300kB to the output file size of the lazy-loaded `highlight.js`. Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
clipboard.js | ||
contextpopup.js | ||
datetimepicker.js | ||
dropzone.js | ||
gitgraph.js | ||
highlight.js | ||
highlight.worker.js | ||
userheatmap.js |