Skip to content

Commit

Permalink
Merge pull request #41 from KQMATH/develop
Browse files Browse the repository at this point in the history
v1.2.2
  • Loading branch information
andstor authored Jun 26, 2019
2 parents 46917f8 + 85ebc0a commit dff9225
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 80 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tex2max",
"version": "1.2.1",
"version": "1.2.2",
"description": "LaTeX math to Maxima code converter",
"main": "lib/tex2max.common.js",
"unpkg": "lib/tex2max.js",
Expand Down
3 changes: 2 additions & 1 deletion src/transpiler/handlers/common.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {wrapForTranspilation} from '../../helpers/helpers';

/**
* @author André Storhaug <andr3.storhaug@gmail.com>
* @copyright 2018 NTNU
Expand All @@ -22,7 +24,6 @@ export function getExpressionLength(parsedLatex, types = [], values = []) {
let i = 0;
let foundExpressionLength = false;
while (i < parsedLatex.length && !foundExpressionLength) {
let pl = parsedLatex[i];

if (types != null) {
types.forEach(type => {
Expand Down
Loading

0 comments on commit dff9225

Please sign in to comment.