webdial

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

commit f929fd532cb7b92043aa1ca618d704e5b1fac3b5
parent c47c403fdbb74bc66447e02594c4a75bdd5429a1
Author: Sean Lynch <seanl@literati.org>
Date:   Thu,  8 Sep 2011 00:10:39 -0700

Use variables that are actually defined.

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

diff --git a/webdial.js b/webdial.js @@ -46,7 +46,7 @@ function WebDial(canvas) { console.debug(7); var st = sun.sidereal_time_greenwich(jd); console.debug(8); - var geo = sun.equ_to_geo(ra, dec, st); + var geo = sun.equ_to_geo(equ.ra, equ.dec, st); console.debug(9); var points = sun.terminator(geo.latitude, geo.longitude, sun.sun_rst_altitude, w, h);