Robin Ward
5b2c306bb8
REFACTOR: Remove `Discourse.HighlightJSPath` from globals
...
Instead we use the session, and pass that along where necessary.
2020-08-17 15:45:44 -04:00
Robin Ward
98fee7aa50
REFACTOR: Remove `Discourse.SiteSettings` from highlightSyntax
2020-07-24 09:45:55 -04:00
David Taylor
7d300006a1
Revert "PERF: Move highlightjs to a background worker, and add result cache ( #10191 )"
...
This caused a CORS error when used with S3 asset storage
This reverts commit d09f283e91
.
2020-07-15 13:52:35 +01:00
David Taylor
d09f283e91
PERF: Move highlightjs to a background worker, and add result cache ( #10191 )
...
Syntax highlighting is a CPU-intensive process which we run a lot while rendering posts and while using the composer preview. Moving it to a background worker releases the main thread to the browser, which makes the UX much smoother.
2020-07-15 12:48:07 +01:00
Robin Ward
e40e06d78c
Rename `.js.es6` to `.js` in the admin application
2020-03-13 17:03:08 -04:00