jos
|
88263c47c7
|
Woohoo fixed the last lint errors
|
2018-06-13 21:51:09 +02:00 |
|
jos
|
0583771e4e
|
Cleanup unused variables and imports
|
2018-06-13 17:25:51 +02:00 |
|
jos
|
cfd7698867
|
Fixed duplicate variable definitions
|
2018-06-13 16:36:13 +02:00 |
|
jos
|
0513898a4b
|
Fix using new for side effects
|
2018-06-13 16:31:18 +02:00 |
|
jos
|
f1ce473457
|
Consistend camel case naming of variables and functions
|
2018-06-13 16:09:51 +02:00 |
|
jos
|
17f07ec098
|
Fixed incompatibility with v4 (index.js file)
|
2018-06-13 14:02:50 +02:00 |
|
jos
|
b3b96749bf
|
Refactored var into const/let, and removed a lot of semicolons
|
2018-06-13 12:21:14 +02:00 |
|
jos
|
934ea83df7
|
Fixed linting issues "Expected consistent spacing"
|
2018-06-12 21:38:11 +02:00 |
|
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
|
f87ec1c6db
|
Setup Babel compilation (WIP)
|
2018-06-06 14:31:33 +02:00 |
|
jos
|
a19ebaca1c
|
More fixes for unite tests on IE11 and Edge (part IV)
|
2018-06-06 10:21:54 +02:00 |
|
jos
|
8b5586914a
|
More unit test tweaks to make everything work on IE 11 and Edge (part III)
|
2018-06-06 09:39:04 +02:00 |
|
jos
|
ee008d992e
|
Fixes failing unit tests on IE11/Edge
|
2018-06-04 21:19:10 +02:00 |
|
Jos de Jong
|
04442daf52
|
Merge branch 'develop' into develop
|
2018-04-17 20:08:52 +02:00 |
|
jos
|
35dd854d16
|
Fixed #1082: implemented support for unit plurals decades, centuries, and millennia
|
2018-04-17 20:02:15 +02:00 |
|
Eric Mansfield
|
2fcec34c9a
|
Fixed year/decade and wrote test for checking in future
|
2018-04-15 12:59:49 -06:00 |
|
jos
|
21f2d46784
|
Fixed #1072: Added support for long and short prefixes for the unit bar
|
2018-04-04 11:35:18 +02:00 |
|
jos
|
b00e0b7460
|
Fixed #1061: math.unit not accepting input like 1/s
|
2018-03-17 14:01:29 +01:00 |
|
jos
|
2c1b8f2f05
|
Fixed #749: Changed rad, deg, and grad to have short prefixes, and introduced radian, degree, and gradian and their plurals having long prefixes
|
2018-01-23 14:18:26 +01:00 |
|
jos
|
6d418b9b61
|
Refactored x && x.isFraction === true into type.isFraction(x)
|
2017-08-12 12:05:11 +02:00 |
|
jos
|
e10dd5bce5
|
Refactored x && x.isBigNumber === true into type.isBigNumber(x)
|
2017-08-12 11:54:53 +02:00 |
|
Alexander Beyn
|
27ad919287
|
Use a different unit, since length squared may have been affected by other tests.
|
2017-08-10 02:57:35 -07:00 |
|
Alexander Beyn
|
8af981ff03
|
Simplify units before returning numeric value
|
2017-07-23 14:02:33 -07:00 |
|
ericman314
|
e96cad0370
|
Corrects round-off errors in splitUnit
|
2017-06-04 22:18:43 -06:00 |
|
ericman314
|
d24b945cb1
|
Added Unit.prototype.toSI
|
2017-03-29 08:46:34 -06:00 |
|
Eric
|
feb834b040
|
Units no longer search for the best prefix if the current prefix results in a value approximately between 0.1 and 1000.
Adjusted unit tests.
|
2016-11-06 06:59:12 -07:00 |
|
Eric
|
0044105bd7
|
Unit tests
|
2016-08-06 13:04:51 -06:00 |
|
Eric
|
c57534986d
|
Added unit tests
|
2016-08-06 12:48:25 -06:00 |
|
Eric
|
b0b607d967
|
Finished docs
|
2016-07-27 23:50:49 -06:00 |
|
Eric
|
49378e1891
|
Finished bug fixes and added tests
|
2016-07-27 00:15:46 -06:00 |
|
Eric
|
efaa989cad
|
Update API to accept objects and create multiple units
|
2016-07-19 00:30:57 -06:00 |
|
Eric
|
b7978dee23
|
Added Unit.createUnits and createUnits function, and tests.
|
2016-07-13 00:29:14 -06:00 |
|
Eric
|
d2494408ef
|
Unitless units are now converted to numeric values when predictable:false
|
2016-04-19 15:52:25 -06:00 |
|
jos
|
15aca5e4d0
|
Changed casing of the values of config options number and matrix to match the actual name of the classes.
|
2016-03-04 19:41:54 +01:00 |
|
Robert Eisele
|
e6d4e40d7c
|
Changed some tests to match new requirements
|
2016-02-07 14:57:02 +01:00 |
|
Jos de Jong
|
02a2bbe9fb
|
Merge pull request #515 from ericman314/complex-units
Added support for complex units
|
2015-12-24 16:11:15 +01:00 |
|
Eric
|
a14b8b7a68
|
Added VA, VAR, and custom logic to convert between them.
|
2015-12-24 05:45:13 +00:00 |
|
David Simons
|
cca8cd82bd
|
Add hertz (without changes to diff)
|
2015-12-03 20:43:57 +00:00 |
|
David Simons
|
12dc0c2f62
|
Revert "Add Hertz unit"
This reverts commit d2ad436c83294ee56a0e0cac7e68d1f74d864d3b.
|
2015-12-03 20:42:06 +00:00 |
|
David Simons
|
d2ad436c83
|
Add Hertz unit
|
2015-12-03 20:38:56 +00:00 |
|
Eric
|
34f991949d
|
Added support for complex units
|
2015-11-28 20:09:22 +00:00 |
|
jos
|
d10309cf73
|
Moved all aliases into the map ALIASES
|
2015-11-28 15:10:24 +01:00 |
|
jos
|
5adbe0a055
|
Extended Unit with support for all numeric types (Fraction, BigNumber)
|
2015-11-27 22:45:27 +01:00 |
|
Eric
|
512de0d04c
|
Fixed tabs
|
2015-08-28 03:51:09 +00:00 |
|
Eric
|
bd0672b92a
|
Merge branch 'develop' of https://github.com/josdejong/mathjs into develop
Conflicts:
lib/type/unit/Unit.js
|
2015-08-28 03:49:22 +00:00 |
|
Eric
|
e01bbcf987
|
Bug fix: Unit.to now flags unit lists as simplified
|
2015-08-28 03:46:03 +00:00 |
|
Eric
|
687a40c77b
|
Added helper function fixedUnit to physicalConstants.js
|
2015-08-25 19:46:57 +00:00 |
|