Closed bengolds closed 2 years ago
Note -- this seems to work if you use LatexSyntax
or the global serialize
, but not ComputeEngine
. ie:
import {serialize, parse, LatexSyntax, ComputeEngine} from '@cortex-js/compute-engine';
const latexSyntax = new LatexSyntax();
const computeEngine = new ComputeEngine();
serialize(parse('5+x')); //Works!
latexSyntax.serialize(latexSyntax.parse('5+x')); //Works!
computeEngine.serialize(computeEngine.parse('5+x')); //Doesn't work!
Should work now!
Calling
c.serialize
gives aMaximum call stack size exceeded
error for any input:This is happening on version 0.4.2.