Skip to content

Commit e439a22

Browse files
authored
Merge pull request #4351 from dpalou/MOBILE-4769
Mobile 4769
2 parents ebf93a4 + 8f0b538 commit e439a22

File tree

9 files changed

+81
-237
lines changed

9 files changed

+81
-237
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"es6-promise-plugin": "^4.2.2",
116116
"ionicons": "^7.4.0",
117117
"jszip": "^3.10.1",
118-
"mathjax": "2.7.9",
118+
"mathjax": "3.2.2",
119119
"mp3-mediarecorder": "4.0.5",
120120
"nl.kingsquare.cordova.background-audio": "^1.0.1",
121121
"ogv": "^1.9.0",

scripts/copy-assets.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@
1616
* Script to copy some files to the www folder.
1717
*/
1818
const fse = require('fs-extra');
19-
const path = require('path');
2019

2120
// Assets to copy.
2221
const ASSETS = {
23-
'/node_modules/mathjax/MathJax.js': '/lib/mathjax/MathJax.js',
24-
'/node_modules/mathjax/extensions': '/lib/mathjax/extensions',
25-
'/node_modules/mathjax/jax/element': '/lib/mathjax/jax/element',
26-
'/node_modules/mathjax/jax/input': '/lib/mathjax/jax/input',
27-
'/node_modules/mathjax/jax/output/SVG': '/lib/mathjax/jax/output/SVG',
28-
'/node_modules/mathjax/jax/output/PreviewHTML': '/lib/mathjax/jax/output/PreviewHTML',
29-
'/node_modules/mathjax/localization': '/lib/mathjax/localization',
22+
'/node_modules/mathjax/es5/tex-mml-chtml.js': '/lib/mathjax/tex-mml-chtml.js',
23+
'/node_modules/mathjax/es5/input/mml/extensions': '/lib/mathjax/input/mml/extensions',
24+
'/node_modules/mathjax/es5/input/tex/extensions': '/lib/mathjax/input/tex/extensions',
25+
'/node_modules/mathjax/es5/output/chtml/fonts/woff-v2': '/lib/mathjax/output/chtml/fonts/woff-v2',
3026
'/node_modules/mp3-mediarecorder/dist/vmsg.wasm': '/lib/vmsg/vmsg.wasm',
3127
'/src/core/features/h5p/assets': '/lib/h5p',
3228
'/node_modules/ogv/dist': '/lib/ogv',

src/addons/filter/mathjaxloader/mathjaxloader.module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ import { AddonFilterMathJaxLoaderHandler } from './services/handlers/mathjaxload
2828
multi: true,
2929
useValue: async () => {
3030
CoreFilterDelegate.registerHandler(AddonFilterMathJaxLoaderHandler.instance);
31-
32-
await AddonFilterMathJaxLoaderHandler.initialize();
3331
},
3432
},
3533
],

0 commit comments

Comments
 (0)