0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 20:27:47 +01:00
gitea/web_src/js/features
silverwind 27e3cddfbe
Move syntax highlighting to web worker (#11017)
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>
2020-04-13 16:02:31 +03:00
..
clipboard.js
contextpopup.js
datetimepicker.js move jquery-datetimepicker to npm/webpack (#10713) 2020-03-17 15:08:15 -04:00
dropzone.js
gitgraph.js
highlight.js Move syntax highlighting to web worker (#11017) 2020-04-13 16:02:31 +03:00
highlight.worker.js Move syntax highlighting to web worker (#11017) 2020-04-13 16:02:31 +03:00
userheatmap.js Migrate ActivityHeatmap to Vue SFC (#10953) 2020-04-06 09:31:11 +08:00