Fixing CJS modules and Globals (#920)

* Working CJS modules.

* Changing cjs imports to es6.
This commit is contained in:
Ryan Randall
2017-10-08 12:56:07 -04:00
committed by Kevin Barabash
parent c4fed02329
commit 141afa091a
5 changed files with 3 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ const generateParseTree = function(expression, options) {
};
const katex = {
module.exports = {
render: render,
renderToString: renderToString,
/**
@@ -74,5 +74,3 @@ const katex = {
__parse: generateParseTree,
ParseError: ParseError,
};
export default katex;