jos
8c2f10a865
Fixed #915 : No access to property "name"
2017-08-07 20:09:12 +02:00
jos
eb5ec9cc26
Added some more unit tests
2017-07-29 10:52:43 +02:00
Thomas Brierley
743854e1d4
Remove property ghosting tests (no longer restricted)
2017-07-14 13:10:46 +01:00
Thomas Brierley
ac002370bd
Add test for ghosting custom properties
2017-07-12 16:36:06 +01:00
Jos de Jong
69f3e882d7
Merge pull request #888 from ThomasBrierley/prototyped-scopes
...
Prototyped Scopes
2017-07-05 22:01:29 +02:00
Thomas Brierley
1dd67cd591
Fix undefined isSafeProperty test + comment
2017-07-04 20:03:06 +01:00
Thomas Brierley
7d6c583629
Add isSafeProperty unit tests
2017-07-04 19:43:05 +01:00
Thomas Brierley
badc6efc1a
Update tests for isSafe changes
...
+ Fix "calling Function via Object.assign" test. Now fails on accesing
"bind" first because new implementation is a bit more restrictive.
+ Fix "extend the class instance". Custom methods on instances are now
allowed and ghosting (overridding) is explicitly not.
+ Add ghosting tests for class instances and plain objects.
2017-06-29 15:53:49 +01:00
Jos de Jong
e98a810aef
Merge pull request #869 from Nekomajin42/setopsv4
...
setops v4
2017-06-18 14:53:04 +02:00
Nekomajin42
9678d1a067
Change escape-goat to native escape function
2017-06-06 12:06:58 +02:00
Nekomajin42
fc9018457f
setops v4
...
- using sort() again
- update the tests with unsorted input
2017-06-06 11:50:50 +02:00
jos
ed5f2cebaf
Security fixes in isSafeMethod and some others
2017-05-27 19:51:12 +02:00
Pat Grasso
8e01076ec9
Merge branch 'matrix.reshape' into develop
2017-02-24 10:12:20 -05:00
jos
03b93c508d
Fixed math.round not accepting inputs NaN, Infinity, -Infinity
2017-02-20 21:35:27 +01:00
patgrasso
adce4e4a87
Draft specs for the new reshape() function
...
Ensure that requested dimensions produce the same number of elements as
the original n-d array.
No dimension should have 0 length.
Check that `reshape()` can take any n-d array and transform it into any
m-d array.
2016-10-15 21:23:26 -04:00
jos
b016385fe0
Fixed #665 : functions map, forEach, and filter now invoke callbacks which are a typed-function with the correct number of arguments
2016-05-18 22:10:34 +02:00
jos
41949b2253
Fixed IndexError not always providing a max property
2016-02-29 20:41:52 +01:00
jos
a1d91e0f84
Implemented nearly equal comparison for relational functions (equal, larger, smaller, etc.) when using BigNumbers
2016-02-28 14:03:40 +01:00
jos
fb141fb885
Merge branch 'decimal_v5' into develop
...
Conflicts:
HISTORY.md
test/function/trigonometry/cot.test.js
2016-02-27 11:39:56 +01:00
jos
034b74c3f2
Removed redundant trigonometric util functions
2016-02-21 13:23:28 +01:00
jos
c65e486e6e
Updated to decimal.js v5.0.4
2016-02-14 22:32:10 +01:00
jos
c558cf496e
Fixed all broken unit tests
2016-02-14 21:51:37 +01:00
jos
96891dd6c5
Implemented support for JSON objects in the function math.format
2016-01-03 19:47:06 +01:00
jos
8158dafd3d
Moved the trigonometric functions in util/bignumber.js into separate files
2015-07-18 20:37:32 +02:00
jos
14b41b202e
Reworked the BigNumber constants (pi, tau, e, phi) to be created by passing a BigNumber constuctor instead of a precision
2015-07-18 17:20:22 +02:00
jos
9d5799f5ca
Extended memoize with support for a custom hasher.
2015-07-18 13:41:06 +02:00