Skip to content

Commit c75e69f

Browse files
committed
Linting. Update dependencies
1 parent dfa9345 commit c75e69f

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed
Binary file not shown.

package-lock.json

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@artcompiler/parselatex",
33
"type": "module",
4-
"version": "1.5.0",
4+
"version": "1.6.0",
55
"description": "A library for parsing LaTeX",
66
"main": "index.js",
77
"scripts": {

src/model.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -2668,11 +2668,10 @@ argArgs;
26682668
return newNode(Model.LIM, args);
26692669
}
26702670
function ratioExpr() {
2671-
let t;
26722671
let expr = additiveExpr();
2673-
while ((t = hd()) === TK_COLON) {
2672+
while (hd() === TK_COLON) {
26742673
next();
2675-
let expr2 = additiveExpr();
2674+
const expr2 = additiveExpr();
26762675
expr = binaryNode(Model.COLON, [expr, expr2], true);
26772676
}
26782677
return expr;

0 commit comments

Comments
 (0)