benhuson/WP-Geo — pull request #17 by Flynsarmy (2013-04-10 00:50:10+00:00)
Title: Fix some JS errors

In /api/googleapiv3/js/admin-post.js you had a comma at the end of an object which would error out in IE

I've moved WPGeo_Admin JS definitions into a PHP array and displayed with json_encode(). This fixes an error when a user hasn't let lat or long settings in admin - it was erroring out.