Browse files

minor name tweak s/callback/handler

  • Loading branch information...
1 parent 3ecf3d3 commit dfd6a80bea09ab389aa9818498a38fc4868e4da8 @JoeGermuska JoeGermuska committed Sep 5, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 censusweb/media/js/ire_census.js
  2. +2 −2 tools/js/ire_census.js
View
4 censusweb/media/js/ire_census.js
@@ -72,9 +72,9 @@ var ire_census = {};
apiRequest("/" + window.DATASET + "_labels.jsonp", "labels_" + window.DATASET, handler);
}
- this.do_with_sf1_data = function(geoid, callback) {
+ this.do_with_sf1_data = function(geoid, handler) {
var state = geoid.substring(0, 2);
- apiRequest("/" + state + "/" + geoid + ".jsonp", "geoid_" + geoid, callback);
+ apiRequest("/" + state + "/" + geoid + ".jsonp", "geoid_" + geoid, handler);
}
GEOGRAPHY_TYPES = [
View
4 tools/js/ire_census.js
@@ -72,9 +72,9 @@ var ire_census = {};
apiRequest("/" + window.DATASET + "_labels.jsonp", "labels_" + window.DATASET, handler);
}
- this.do_with_sf1_data = function(geoid, callback) {
+ this.do_with_sf1_data = function(geoid, handler) {
var state = geoid.substring(0, 2);
- apiRequest("/" + state + "/" + geoid + ".jsonp", "geoid_" + geoid, callback);
+ apiRequest("/" + state + "/" + geoid + ".jsonp", "geoid_" + geoid, handler);
}
GEOGRAPHY_TYPES = [

0 comments on commit dfd6a80

Please sign in to comment.