Permalink
Browse files

js scoping

  • Loading branch information...
1 parent af6d9cc commit c25dd8e2a188d9270153c1ffd1b5df2f069ba04e @JoeGermuska JoeGermuska committed Oct 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/js/ire_census.js
View
@@ -6,7 +6,7 @@ var ire_census = {};
this.GEOAPI_URL = "http://census.ire.org/geo/1.0"
function apiRequest(path, callback, handler) {
- $.ajax(API_URL + path, {
+ $.ajax(this.API_URL + path, {
dataType: "jsonp",
jsonpCallback: callback,
success: handler

0 comments on commit c25dd8e

Please sign in to comment.