Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Remove MathZoom from kathjax.py, and rebuild MathJax
Browse files Browse the repository at this point in the history
Summary:
MathZoom was still being linked from MathJax, and mobile clients were showing a "File failed to load" error every time a user first loaded an exercise. This removes (hopefully) the last reference to MathZoom.

Still TODO: Once this is landed, update socrates.js with the link to the appropriate KAthJax config file.

Addresses https://app.asana.com/0/15238128244105/52923964249346.

Test Plan:
Load a new khan-exercises exercise in iOS ('finding absolute value' is favorite); you can interact with the exercise and the 'file failed to load' error no longer shows.

Make the same changes in webapp (remove the MathZoom reference & rebuild), and khan-exercises still load & show progress.

Reviewers: emily, kevinb

Reviewed By: kevinb

Subscribers: andy, #ios

Differential Revision: https://phabricator.khanacademy.org/D22079
  • Loading branch information
lsavino committed Sep 30, 2015
1 parent 90a4af4 commit c4addc0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion build/kathjax.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
pack = [
'extensions/MathEvents.js',
'extensions/MathMenu.js',
'extensions/MathZoom.js',
'extensions/TeX/AMSmath.js',
'extensions/TeX/AMSsymbols.js',
'extensions/TeX/noErrors.js',
Expand Down
2 changes: 1 addition & 1 deletion khan-exercise.js
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,7 @@ function loadMathJax() {
if (window.MathJax) {
waitForMathJaxReady();
} else {
loadScript(urlBase + "third_party/MathJax/2.1/MathJax.js?config=KAthJax-3d6f4e415c7ff2242f5279bfbcbb5c9f", waitForMathJaxReady);
loadScript(urlBase + "third_party/MathJax/2.1/MathJax.js?config=KAthJax-f44d133888282e24c89e102b0a3fa99c", waitForMathJaxReady);
}

function waitForMathJaxReady() {
Expand Down
Loading

0 comments on commit c4addc0

Please sign in to comment.