mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-14 15:28:40 +00:00
Fix our parsing strategy so it is the same as (or very similar to) TeX's
Summary: Rewrote the parser to make this work, and added a bunch of tests to make sure this does work. In the process, refactored all of our functions into a separate file, functions.js. Added a bunch of comments to Parser.js. Also, update jasmine so we can make our tests better, and add a lint_blacklist.txt to not lint bad jasmine stuff. Fixes #10 Fixes #12 Test Plan: - Make sure all of the tests still work, and all of the new ones work also - Make sure huxley screenshots didn't change Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D12989
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
{
|
||||
"name": "Overline",
|
||||
"screenSize": [1024, 768],
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\overline{x}\\overline{x}\\overline{x^{x^{x^x}}} \\blue\\overline{y}"
|
||||
"url": "http://localhost:7936/test/huxley/test.html?m=\\overline{x}\\overline{x}\\overline{x^{x^{x^x}}} \\blue{\\overline{y}}"
|
||||
},
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user