You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
4 years ago
..
clipboard.js Misc JS linting and naming tweaks (#10652) 4 years ago
contextpopup.js Misc JS linting and naming tweaks (#10652) 4 years ago
datetimepicker.js move jquery-datetimepicker to npm/webpack (#10713) 4 years ago
dropzone.js Misc JS linting and naming tweaks (#10652) 4 years ago
gitgraph.js Misc JS linting and naming tweaks (#10652) 4 years ago
highlight.js Move syntax highlighting to web worker (#11017) 4 years ago
highlight.worker.js Move syntax highlighting to web worker (#11017) 4 years ago
userheatmap.js Migrate ActivityHeatmap to Vue SFC (#10953) 4 years ago