webdial

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

commit 34dffd47c2823ae9f9623ed112873f50cbba076b
parent 26f2467d5e66afebeac46d367ac106d68b745544
Author: Sean Lynch <seanl@literati.org>
Date:   Wed,  7 Sep 2011 21:47:29 -0700

Explicitly specify json datatype for ajax call.

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

diff --git a/webdial.js b/webdial.js @@ -33,6 +33,7 @@ function WebDial(canvas) { this.go = function() { $.ajax("https://raw.github.com/seanlynch/webdial/master/continent.json", - {success: mapCallback}); + {dataType: "json", + success: mapCallback}); } } \ No newline at end of file