Skip to content

Commit 2d17c6f

Browse files
committed
[main] simplify MathJaxPath
1 parent fe6cb7b commit 2d17c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var STATE = {
8181
//
8282
// The MathJaxPath is normaized against file:/// so that Windows paths are correct
8383
//
84-
var MathJaxPath = url.resolve("file:///","file:"+require.resolve('mathjax/unpacked/MathJax'));
84+
var MathJaxPath = url.resolve("file:///","file:"+require.resolve('mathjax'));
8585
var MathJaxConfig; // configuration for when starting MathJax
8686
var MathJax; // filled in once MathJax is loaded
8787
var serverState = STATE.STOPPED; // nothing loaded yet

0 commit comments

Comments
 (0)