mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-04 06:37:49 -05:00
In the JavaScript version, check throughout for valid finite numeric/boolean values as needed. This should make debugging a lot easier for everybody. In the unit tests for all languages, also check for infinite results, not just NaN. I discovered that JS Astronomy.NextLocalSolarEclipse() was broken: It was trying to call a nonexistent function. Fixed it, and added unit test that would have caught the breakage. Fixed mistakes in JS documentation for the field names of the Observer class.