Remove MathJax v2 (#16961)

GitOrigin-RevId: 32a43361cfc883aa1a5ed85f6be5432b6e838b9d
This commit is contained in:
Alf Eaton
2024-02-09 09:06:42 +00:00
committed by Copybot
parent 2566dff9d8
commit c997d1dc2b
19 changed files with 73 additions and 204 deletions
@@ -24,9 +24,9 @@ window.MathJax = {
export const interceptMathJax = () => {
// NOTE: this is just a URL to be intercepted with the stub, not the real (versioned) MathJax URL
const url = '/js/libs/mathjax-3/es5/tex-svg-full.js'
const url = '/js/libs/mathjax/es5/tex-svg-full.js'
cy.window().then(win => {
win.metaAttributesCache.set('ol-mathJax3Path', url)
win.metaAttributesCache.set('ol-mathJaxPath', url)
})
cy.intercept('GET', url, MATHJAX_STUB).as('mathjax-load-request')
}