silentmatt / expr-eval

Mathematical expression evaluator in JavaScript
http://silentmatt.com/javascript-expression-evaluator/
MIT License
1.19k stars 239 forks source link

Fix withMembers not including all members in special cases #195

Closed epicfaace closed 5 years ago

epicfaace commented 5 years ago

Particularly, the case x + x.y + x.z was not working before; it would only give back x and x.y.

silentmatt commented 5 years ago

Thanks for catching and fixing this!

epicfaace commented 5 years ago

No problem. Do you mind releasing a new version when you get a chance? I'm currently using a patched version of this library and would like to switch back to using this one.

silentmatt commented 5 years ago

@epicfaace Just published version 1.2.3