mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Rename katex.process
to katex.render
Test plan: - Make sure tests work and huxley tests didn't change Auditors: alpert
This commit is contained in:
4
katex.js
4
katex.js
@@ -16,7 +16,7 @@ var utils = require("./utils");
|
||||
* Parse and build an expression, and place that expression in the DOM node
|
||||
* given.
|
||||
*/
|
||||
var process = function(toParse, baseNode) {
|
||||
var render = function(toParse, baseNode) {
|
||||
utils.clearNode(baseNode);
|
||||
|
||||
var tree = parseTree(toParse);
|
||||
@@ -34,7 +34,7 @@ var renderToString = function(toParse) {
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
process: process,
|
||||
render: render,
|
||||
renderToString: renderToString,
|
||||
ParseError: ParseError
|
||||
};
|
||||
|
Reference in New Issue
Block a user