jos
|
7e40d0a464
|
Added docs for physical constants in expression parser help
|
2015-08-11 21:02:25 +02:00 |
|
jos
|
189d8e4918
|
Internal functions Unit.parse and Complex.parse now throw an Error instead of returning null when passing invalid input
|
2015-08-10 21:45:48 +02:00 |
|
Jos de Jong
|
af0b0960c0
|
Merge pull request #425 from ericman314/unit-parse-parentheses
Added support for parentheses to Unit.parse
|
2015-08-09 23:12:09 +02:00 |
|
jos
|
9215622642
|
Removed constant definition of atm (duplicate with the atm unit)
|
2015-08-09 23:10:32 +02:00 |
|
jos
|
b67004dce9
|
Implemented physical constants like gravity, speedOfLight, etc
|
2015-08-09 22:50:58 +02:00 |
|
Eric
|
37870fcc0d
|
Added support for parentheses to Unit.parse
|
2015-08-09 20:42:05 +00:00 |
|
jos
|
067a628bc3
|
Changed Unit.parse such that implicit multiplication has the same precedence as division
|
2015-08-09 15:27:56 +02:00 |
|
Eric
|
96aca3a7bb
|
_bestPrefix now chooses shortest prefix when prefix values are the same
|
2015-08-07 13:17:23 +00:00 |
|
Eric
|
5e7a584ab1
|
Removed UPPERCASE OMEGA character (breaks browsers)
|
2015-08-07 03:56:13 +00:00 |
|
Eric
|
23044e29ca
|
Updated more docs
Fixed tabs
|
2015-08-06 13:47:01 +00:00 |
|
Eric
|
4f6cc1254b
|
Updated docs and examples
|
2015-08-06 13:34:12 +00:00 |
|
Eric
|
dfbc575bc1
|
Added electrical units and unit tests
|
2015-08-06 12:50:48 +00:00 |
|
Eric
|
f5d166a809
|
Made an attempt at derived units with simplification
Updated unit tests
Updated examples
Updated docs
|
2015-08-04 05:26:00 +00:00 |
|
Eric
|
0a1c8446a5
|
Added a few more unit tests
|
2015-08-01 20:58:08 +00:00 |
|
Eric
|
7ce39f1084
|
Finished upgrades to unit type. Adjusted several unit tests.
|
2015-08-01 18:35:46 +00:00 |
|
Eric
|
4c1f160e10
|
Mostly done but now everything's broken.
|
2015-07-30 05:38:18 +00:00 |
|
Eric
|
a4974134a4
|
Halfway done working on the dimensions array approach for units,
but running into trouble with formatting. May have to change
many things to get it to work.
|
2015-07-30 03:03:39 +00:00 |
|
Eric
|
f689a00edb
|
Made a few notes
|
2015-07-29 03:23:51 +00:00 |
|
Ubuntu
|
f583855261
|
First attempt at derived units. Updated unit tests and examples.
|
2015-07-25 18:48:04 +00:00 |
|
Ubuntu
|
9ae8ea36df
|
Just committing so I can checkout master again to revert a few lines.
|
2015-07-25 03:33:07 +00:00 |
|
jos
|
2353c4a61e
|
Renamed folders util to utils
|
2015-07-18 13:22:38 +02:00 |
|
jos
|
57a47b3b5a
|
Moved pure collection functions to lib/util/collection
|
2015-07-18 12:53:07 +02:00 |
|
jos
|
493f34ec7b
|
Split collection.js into separate (pure) functions
|
2015-07-18 11:47:38 +02:00 |
|
Max Bruckner
|
5f8b2559c3
|
Remove LaTeX of construction functions from util/latex.js
|
2015-06-14 20:08:19 +02:00 |
|
jos
|
6c7bf4acf0
|
Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...).
|
2015-05-20 21:08:26 +02:00 |
|
jos
|
8c032f2593
|
Replaced all instanceof checks with x && xisMyType === true checks
|
2015-05-05 15:09:21 +02:00 |
|
jos
|
3242cd8550
|
Attached properties like.type === 'Complex' and .isComple to all data types
|
2015-05-05 14:35:45 +02:00 |
|
jos
|
7e3eda8603
|
Moved all data types and their construction functions into a folder of their own under ./lib/type
|
2015-05-05 13:51:24 +02:00 |
|