New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during compilation math.js by Google Closue #503

Closed
gang65 opened this Issue Nov 12, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@gang65

gang65 commented Nov 12, 2015

During compilation by Google closure:
https://developers.google.com/closure/

I have errors, which is quite easy to fix.
Maybe it is worth to fix that?

java -jar ~/Dokumenty/compiler.jar < ~/Pulpit/math.js
The compiler is waiting for input via stdin.
stdin:115: WARNING - Keywords and reserved words are not allowed as unquoted property names in older versions of JavaScript. If you are targeting newer versions of JavaScript, set the appropriate language_in option.
math.import(webpack_require(13));
^

stdin:9121: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
power: 1.0,
^

stdin:10491: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
offset: 0,
^

stdin:10937: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
+ latex.symbols['i'] + '\cdot\left(${args[1]}\right)\right)',
^

stdin:19616: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
'lup(sparse([[2, 1], [1, 4]]))',
^

stdin:19680: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
'x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])',
^

stdin:25239: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
latexRightParens: false,
^

6 error(s), 1 warning(s)

@josdejong

This comment has been minimized.

Show comment
Hide comment
@josdejong

josdejong Nov 13, 2015

Owner

Thanks, fixed that on the develop branch.

Owner

josdejong commented Nov 13, 2015

Thanks, fixed that on the develop branch.

@josdejong josdejong added the bug label Nov 13, 2015

@josdejong josdejong closed this in 526c1dd Nov 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment