webdial

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

commit c23ca4bd694eb30505cd0be9fe9adb345eed71b3
parent 06a61d4a3956b732407fdddc39b971ee2bee9f22
Author: Sean Lynch <seanl@literati.org>
Date:   Wed,  7 Sep 2011 22:06:48 -0700

Add some debugging

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

diff --git a/webdial.js b/webdial.js @@ -15,6 +15,7 @@ function WebDial(canvas) { var ctx = canvas[0].getContext("2d"); ctx.fillStyle = "rgb(0, 192, 0)"; $.each(continents, function(continent, polygons) { + console.debug("Drawing", continent); $.each(polygons, function(i, points) { ctx.beginPath(); ctx.moveTo(points[points.length-1]);