Permalink
Browse files

Like the main repo, use linebreaks for KAthJax JS

Debugging errors is much easier when line number errors don't give you
multi-thousand-character lines... (We'll pay a 700-byte size penalty
after gzipping.)
  • Loading branch information...
1 parent 8c22e70 commit 9dbd045a011529ca342c340cbe30b61d3a8d8946 @spicyj spicyj committed Jun 24, 2012
View
2 build/kathjax.py
@@ -88,7 +88,7 @@
# Pack KAthJax.js and copy to mjdir
os.mkdir(os.path.join(mjdir, 'config'))
-os.system('uglifyjs --overwrite --ascii KAthJax.js')
+os.system('uglifyjs --overwrite --ascii --beautify --indent 0 KAthJax.js')
kathjax_js = open('KAthJax.js', 'r')
md5 = hashlib.md5(kathjax_js.read()).hexdigest()
View
2 khan-exercise.js
@@ -284,7 +284,7 @@ var Khan = (function() {
moduleDependencies: {
"math": [{
- src: urlBase + "utils/MathJax/1.1a/MathJax.js?config=KAthJax-a5c67e8a5046db2ff8dfc2229a228836"
+ src: urlBase + "utils/MathJax/1.1a/MathJax.js?config=KAthJax-62e7a7b628ba168df6b9cd3de8feac38"
}, "raphael"],
// Load Raphael locally because IE8 has a problem with the 1.5.2 minified release
View
5,957 utils/MathJax/1.1a/config/KAthJax-62e7a7b628ba168df6b9cd3de8feac38.js
5,957 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
154 utils/MathJax/1.1a/config/KAthJax-a5c67e8a5046db2ff8dfc2229a228836.js
0 additions, 154 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

1 comment on commit 9dbd045

@spicyj
Khan Academy member

@xymostech review!

Please sign in to comment.