Closed KonBal closed 2 years ago
There shouldn't be any difference between them. I must have forgotten to update the files in dist
.
Looking back at #7, it seems that I was supposed to do some things after merging it, and then didn't! I've removed the dist
directory from the repository, and updated the instructions. I've checked that the version of the package installed through npm deals with an input of ,,
.
Hello! I use your parser as an ECMAScript module and I see that I cannot pass an expression that contains ',,' (or simply ',' as the whole expression). The exception occurs:
However, if I include the parser as a CommonJS module taking the source code directly from the repository, the expressions are parsed fine, as in asciimath2tex.js the exception is not thrown for the same case. Instead, there are:
Could you explain, please, why there is a difference between the scripts and what behavior of the parser is correct?