Restore operability of Circle3D from JavaScript
There were two small problems. First, the type-checking in MacroRunner.run was too strict, so applications that worked manually were failing from JavaScript. The fix was to replace all of the type-checking code in that function with a single call to isAdmissible(), which also simplified the code and removed duplication. Second, when assembling return values in ExecuteMacro in JSFunctions.java the code would commit array bounds violations when there were no targets from the MacroRunner. This commit fixes both problems and avoids silently dropping the exceptions caught in Circle3D.
This commit is contained in:
parent
c312811084
commit
e2f0f34394
4 changed files with 29 additions and 46 deletions
BIN
lib/jlatexmath-minimal-0.9.4.jar
Normal file
BIN
lib/jlatexmath-minimal-0.9.4.jar
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue