16 Commits

Author SHA1 Message Date
jos
9991449ce0 Generate ESModules transpiled to ES5 2019-08-05 21:19:00 +02:00
jos
ab1b83a2f6 Remove generated files from repo, make tests independent from generated files 2019-05-12 15:14:13 +02:00
Paulo Buchsbaum
443d42a7fc Bugfixes in rationalize, extended simplify with new options see #1173
Fix of bug fixes in `rationalize.js`, also changing  `simplify.js` and `simplifyConstant.js` and more  2 bugs in `simplify.js` and `simplifyconstant.js` in order to be possible passing in `Travis` test. 

**Bugs in `simplifyConstant.js` and   `simplify.js`**

1. `simplifyConstant.js` - I've changed `new ConstantNode(stringNumber, 'number')` to `new ConstantNode(number)`

1.  `simplify.js` - Due to problems with a  number node with  string type,  I've added `!isNaN(node.value)))` in number type test condition 

**Bugs in `rationalize.js`**

3.   I've fixed  negative power exponents and decimals coefficients troubles. The decimals coefficients problem has led to the need to add a new feature in `simplify.js ` and `simplifyConstant.js` (next topic)

**New feature in `simplify.js` and `simplifyConstant.js`**

4.  New rule type (string), whose valid values are in `listCommStrings` new variable. The only string rule accepted so far is to turn off exact fraction conversion in `simplifyConstant.js`
2018-08-03 15:58:45 +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
b4c4050dd0 Moved lib to src (WIP) 2018-06-06 15:03:00 +02:00
jos
fbe2ccb2b4 Dropped support for bower, remove dist file from git repo 2018-06-06 11:15:51 +02:00
jos
6613f1c844 Release the second release candidate 4.0.0-rc.2 2018-02-21 11:36:43 +01:00
jos
cd2d58b907 Updated history and contributors 2015-01-29 20:33:42 +01:00
Jos de Jong
0f7bef15a9 Excluding .c9 folder from git 2015-01-23 12:45:04 +00: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
Daniel Levin
365490cf11 Changed parseInt to Math.floor
also added vim swap files to .gitignore
2014-01-07 12:58:09 +02:00
josdejong
38174932f5 Added information on how to test code coverage. Ignoring code coverage reports. 2013-08-10 22:50:38 +02:00
josdejong
a92bdea090 Added the built library again (for bower) 2013-04-06 20:53:08 +02:00
josdejong
9413e65b73 Ignoring built libraries 2013-04-06 15:21:26 +02:00
josdejong
21386ff3d2 Jake build script implemented 2013-02-16 14:23:37 +01:00
josdejong
f1866cc3bc Project initialized (but yet empty) 2013-02-15 21:35:33 +01:00