webdial

Incomplete JS port of moondial.
git clone https://code.literati.org/webdial.git
Log | Files | Refs

commit 42e6c4840cdf113a2b038b0ab4d3cdb25ca4ce36
parent 150b1f0d960a84ce0f0bcbc72a017761a0a433cc
Author: Sean Lynch <seanl@literati.org>
Date:   Wed,  7 Sep 2011 23:52:18 -0700

Fix syntax error.

Diffstat:
Msun.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sun.js b/sun.js @@ -137,7 +137,7 @@ var Sun = function() { var _el0 = [d_to_r(dms_to_d(23, 26, 21.448)), d_to_r(dms_to_d( 0, 0, -46.8150)), d_to_r(dms_to_d( 0, 0, -0.00059)), - d_to_r(dms_to_d( 0, 0, 0.001813)))]; + d_to_r(dms_to_d( 0, 0, 0.001813))]; this.obliquity = function(jd) { return polynomial(_el0, jd_to_jcent(jd));