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
eab560fe2a
DEV: import I18n instead of global usage ( #9768 )
...
Co-authored-by: Mark VanLandingham <markvanlan@gmail.com >
Co-authored-by: Robin Ward <robin.ward@gmail.com >
Co-authored-by: Mark VanLandingham <markvanlan@gmail.com >
2020-05-13 16:23:41 -04:00
Robin Ward
e40e06d78c
Rename .js.es6 to .js in the admin application
2020-03-13 17:03:08 -04:00