Skip to content

Commit

Permalink
Updated KaTeX version; breaks FormulaNode
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabh Totey authored and Saurabh Totey committed Aug 16, 2019
1 parent 0976842 commit 4633057
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions js/FormulaNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
*
* IMPORTANT: Using this will require including the KaTeX preloads, and may require generation of a custom bundle for
* the simulation. Currently two preloads will be needed, one for the CSS/font-files, and one for the JS, e.g.:
* - katex-0.5.1-css-all.js
* - katex-0.5.1.min.js
* - katex-0.11.0-css-all.js
* - katex-0.11.0.min.js
*
* IMPORTANT: See packageKatexCSS.js for more information, particularly about generating a particular customized preload
* file that includes only the font-files needed.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"generatedUnitTests": true,
"requirejsNamespace": "SCENERY_PHET",
"preload": [
"../sherpa/lib/katex-0.5.1-css-all.js",
"../sherpa/lib/katex-0.5.1.min.js"
"../sherpa/lib/katex-0.11.0-css-all.js",
"../sherpa/lib/katex-0.11.0.min.js"
],
"phetLibs": [
"twixt"
Expand Down
4 changes: 2 additions & 2 deletions scenery-phet_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
'../sherpa/lib/base64-js-1.2.0.js',
'../sherpa/lib/TextEncoderLite-3c9f6f0.js',
'../tandem/js/PhetioIDUtils.js',
'../sherpa/lib/katex-0.5.1-css-all.js',
'../sherpa/lib/katex-0.5.1.min.js'
'../sherpa/lib/katex-0.11.0-css-all.js',
'../sherpa/lib/katex-0.11.0.min.js'
];

if ( brand === 'phet-io' ) {
Expand Down

1 comment on commit 4633057

@SaurabhTotey
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.