forgejo-federation/web_src/js
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
..
components Migrate ActivityHeatmap to Vue SFC (#10953) 2020-04-06 09:31:11 +08:00
features Move syntax highlighting to web worker (#11017) 2020-04-13 16:02:31 +03:00
standalone Reorganize frontend files and tooling (#10168) 2020-02-07 18:09:30 +01:00
vendor Misc JS linting and naming tweaks (#10652) 2020-03-11 21:34:54 +02:00
index.js Move syntax highlighting to web worker (#11017) 2020-04-13 16:02:31 +03:00
jquery.js move jquery and jquery-migrate to npm/webpack (#9813) 2020-01-21 19:32:33 +02:00
polyfills.js fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
publicpath.js Misc JS linting and naming tweaks (#10652) 2020-03-11 21:34:54 +02:00
utils.js Fix JS and Vue (#10328) 2020-02-18 08:07:57 +02:00