Replies: 1 comment
-
That is an interesting one. The parser has a set of operators that it supports like You can find a list with all supported operators in the docs. However that list does not contain the corresponding function names. It maybe easiest to look inside src/expression/parse.js, search for all occurrences of Besides that, the expression parser can evaluate functions like |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm looking at custom loading to reduce the bundle size, as explained here:
However, I'm struggling to figure out which dependencies I need to include.
I'm only using the
Math.evaluate()
method in my code, but it obviously calls other method in the background.I first tried this:
But my tests then failed for missing dependencies. I went through, one by one, adding dependencies until my tests passed, but now I have a long list of them, and I'm not sure if I might have missed anything, or included too much.
This is what I've currently got:
Is there any way of telling if I've missed any dependencies which my tests may have missed, and how do I know which dependencies I need for the
evaluate()
method? Does it depend on what notation I'm trying to evaluate?For reference, I did find this ticket; #2229
But, although it solved the issue for the OP, it didn't really clarify how to figure it out.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions