jos
|
024b2a9e26
|
Fix most lint errors using npx standard --fix
|
2018-06-10 20:28:27 +02:00 |
|
jos
|
635cd0b574
|
Revert using /lib/ in tests, use /src/ again. Fixed coverage testing. WIP
|
2018-06-06 22:11:52 +02:00 |
|
jos
|
79071b5e4f
|
Fixed npm run test:browser not working (WIP)
|
2018-06-06 21:30:41 +02:00 |
|
jos
|
0c084b8e20
|
npm test working now
|
2018-06-06 15:36:36 +02:00 |
|
jos
|
7fefa33d84
|
Fixed #1077: Serialization/deserialization to JSON with reviver not being supported by nodes
|
2018-04-04 22:09:43 +02:00 |
|
jos
|
924299c42b
|
Changed ConstantNode(valueStr, valueType) to ConstantNode(value) (breaking change)
|
2018-01-23 12:08:29 +01:00 |
|
jos
|
4306200c4c
|
Implemented method Node.equals(other) for all nodes of the expression parser
|
2016-11-05 16:27:23 +01:00 |
|
jos
|
9173fbd3b8
|
Large refactoring of nodes: AssignmentNode. UpdateNode, AccessorNode, IndexNode
|
2016-02-25 15:02:44 +01:00 |
|
Max Bruckner
|
49e3fb7fad
|
ConditionalNode: simplify LaTeX by using the 'cases' environment
|
2016-01-05 10:53:11 +01:00 |
|
jos
|
a92b978036
|
Merged develop into v2
|
2015-06-07 15:57:41 +02:00 |
|
jos
|
c810981238
|
Method Node.compile() no longer needs math to be passed as argument.
|
2015-05-27 13:30:35 +02:00 |
|
Max Bruckner
|
3f217cefdd
|
toTex: no global configuration. Only pass around one local object
|
2015-05-16 13:30:25 +02:00 |
|
Max Bruckner
|
c0e1b2d268
|
toString: no global configuration. Only pass around one local object
|
2015-05-16 13:29:55 +02:00 |
|
Max Bruckner
|
8d3b3bbe35
|
Tests for custom toString
|
2015-05-16 13:29:20 +02:00 |
|
Max Bruckner
|
291d620972
|
Pass local configuration to toTex functions
|
2015-05-16 13:27:48 +02:00 |
|
Max Bruckner
|
aa7ca9178f
|
Implement 'all' parenthesis option
|
2015-05-08 09:07:15 +02:00 |
|
jos
|
f7c5381a13
|
Fixed Node.transform not recursing over replaced parts of the node tree (see #349).
|
2015-05-02 17:27:14 +02:00 |
|
Max Bruckner
|
390a0060b4
|
Add is<NameOfNode> property to enable type checking across constructors
|
2015-04-28 09:14:53 +02:00 |
|
Max Bruckner
|
e62ab0dae4
|
Proper toTex for units and symbols.
Symbols now don't use `\mathrm` anymore by default, but units do.
|
2015-04-27 11:08:31 +02:00 |
|
jos
|
d3d3212633
|
Refactored all nodes into factory functions (see #342)
|
2015-04-26 21:25:31 +02:00 |
|
Max Bruckner
|
978bc2bc31
|
FunctionAssignmentNode.toTex: get rid of unnecessary curly braces
|
2015-04-19 09:49:08 +02:00 |
|
Max Bruckner
|
0868987cdf
|
util/latex: use ":=" for assignments and '=' 'equal'
|
2015-04-05 14:29:14 +02:00 |
|
Max Bruckner
|
6b1d09f2cb
|
util/latex: new toSymbol
|
2015-04-05 14:29:12 +02:00 |
|
Max Bruckner
|
47f76f35ac
|
Limit custom toTex with multiple callbacks to FunctionNodes
Now only FunctionNode's toTex can be overwritten mit a map of callbacks
|
2015-03-17 18:14:14 +01:00 |
|
Max Bruckner
|
0fee9173c8
|
Enable custom toTex functions
|
2015-03-13 21:23:14 +01:00 |
|
Max Bruckner
|
9489fbf9dc
|
New generic toString for ConditionalNode
|
2015-03-01 10:35:03 +01:00 |
|
jos
|
309bf3938d
|
Added proper error messages to Node.map
|
2014-11-15 13:32:02 +01:00 |
|
jos
|
9257ec3c33
|
Added unit tests for Node.map and Node.forEach
|
2014-11-15 13:16:32 +01:00 |
|
jos
|
a1f60db0d1
|
Created Node.map, changed traverse to use Node.map
|
2014-11-14 11:25:48 +01:00 |
|
jos
|
be9a8629ea
|
Node.transform does not create a clone of the tree anymore
|
2014-11-13 22:01:48 +01:00 |
|
jos
|
bd1981ecd0
|
Renamed Node.map and Node.forEach back to traverse and transform
|
2014-10-13 21:42:48 +02:00 |
|
jos
|
238281e28a
|
Renamed traverse and transform to forEach and map
|
2014-10-12 19:32:51 +02:00 |
|
jos
|
ba70c07509
|
Added unit tests for Node.clone
|
2014-10-11 22:29:48 +02:00 |
|
jos
|
95a49fe156
|
Node.transform first clones the node tree
|
2014-10-11 21:59:47 +02:00 |
|
jos
|
839e596772
|
Implemented transform and traverse
|
2014-10-11 18:03:41 +02:00 |
|
jos
|
5f08307391
|
Implemented a function replace for nodes of a parsed expression.
|
2014-10-11 15:33:23 +02:00 |
|
jos
|
8a12c8e9bc
|
Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options])
|
2014-08-03 21:42:12 +02:00 |
|
jos
|
4645529f40
|
Removed function ifElse
|
2014-06-30 14:52:54 +02:00 |
|
jos
|
7c761e390a
|
Refactored ConstantNode to make it more flexible to various types of input
|
2014-06-23 11:51:01 +02:00 |
|
jos
|
dd65864d6c
|
Fixed a test
|
2014-06-20 21:29:57 +02:00 |
|
jos
|
a9226ef70d
|
Fixed #187: changed the behavior of the conditional operator (a ? b : c) to lazy evaluation.
|
2014-06-20 21:14:58 +02:00 |
|