Skip to content

Commit

Permalink
get rid of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Jul 15, 2011
1 parent ec1fcc6 commit 655c48b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pyramid_jqm/scaffolds/jqm_starter/+package+/static/pyramid.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,13 @@ var pyramid = function () {
google_maps_ready.resolve(map_options);
}

// --------------------------------------------------------------------
// Query for country codes / names.
//
// Call 'with_rows' the the data, one row per country.
// --------------------------------------------------------------------
function countries_api(with_rows) {
var api_url = api_prefix + '/countries.json';
$.getJSON(api_url, function (data) {
with_rows(data);
}).error(jqxhr_error);
}

// --------------------------------------------------------------------
// Utility function to populate a dropdown list of countries
// --------------------------------------------------------------------
function populate_countries(list) {
countries_api(function (data) {
list[0].options.length = 0;
Expand Down

0 comments on commit 655c48b

Please sign in to comment.