forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MathJax Output Format update in Studio
Changed the MathJax output format from SVG to HTML in Studio side.
- Loading branch information
usama sadiq
authored and
usama sadiq
committed
May 27, 2019
1 parent
2b0151c
commit db19e06
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define( | |
|
||
$script( | ||
'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js' + | ||
'?config=TeX-MML-AM_SVG&delayStartupUntil=configured', | ||
'?config=TeX-MML-AM_HTMLorMML&delayStartupUntil=configured', | ||
'mathjax', | ||
function() { | ||
window.MathJax.Hub.Config({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,7 +136,7 @@ | |
'lang_edx': 'js/src/lang_edx', | ||
|
||
// externally hosted files | ||
mathjax: 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_SVG&delayStartupUntil=configured', // eslint-disable-line max-len | ||
mathjax: 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_HTMLorMML&delayStartupUntil=configured', // eslint-disable-line max-len | ||
'youtube': [ | ||
// youtube URL does not end in '.js'. We add '?noext' to the path so | ||
// that require.js adds the '.js' to the query component of the URL, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ | |
'domReady': 'xmodule_js/common_static/js/vendor/domReady', | ||
'URI': 'xmodule_js/common_static/js/vendor/URI.min', | ||
'mock-ajax': 'xmodule_js/common_static/js/vendor/mock-ajax', | ||
mathjax: 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_SVG&delayStartupUntil=configured', // eslint-disable-line max-len | ||
mathjax: 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_HTMLorMML&delayStartupUntil=configured', // eslint-disable-line max-len | ||
'youtube': '//www.youtube.com/player_api?noext', | ||
'js/src/ajax_prefix': 'xmodule_js/common_static/js/src/ajax_prefix', | ||
'js/spec/test_utils': 'js/spec/test_utils' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ | |
'draggabilly': 'xmodule_js/common_static/js/vendor/draggabilly', | ||
'domReady': 'xmodule_js/common_static/js/vendor/domReady', | ||
'URI': 'xmodule_js/common_static/js/vendor/URI.min', | ||
mathjax: 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_SVG&delayStartupUntil=configured', // eslint-disable-line max-len | ||
mathjax: 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_HTMLorMML&delayStartupUntil=configured', // eslint-disable-line max-len | ||
'youtube': '//www.youtube.com/player_api?noext', | ||
'js/src/ajax_prefix': 'xmodule_js/common_static/js/src/ajax_prefix' | ||
}, | ||
|