webdial

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

commit 9baa6856a390786a88ec6d433cf3a00f571ee927
parent 88f5cbf28dc44180648ee40a8c9bc5ec076f074e
Author: Sean Lynch <seanl@literati.org>
Date:   Wed,  7 Sep 2011 22:15:25 -0700

Remove some debugging so I can see the other debugging.

Diffstat:
Mwebdial.js | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/webdial.js b/webdial.js @@ -17,10 +17,8 @@ function WebDial(canvas) { $.each(continents, function(continent, polygons) { console.debug("Drawing", continent); $.each(polygons, function(i, points) { - console.debug("Drawing", points.length, "points"); ctx.beginPath(); var lastPoint = points[points.length-1]; - console.debug(lon2x(lastPoint[1]), lat2y(lastPoint[0])); ctx.moveTo(lon2x(lastPoint[1]), lat2y(lastPoint[0])); $.each(points, function(j, point) { ctx.lineTo(lon2x(point[1]), lat2y(point[0]));