Skip to content

Instantly share code, notes, and snippets.

@joelbrewer
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save joelbrewer/83bb7a9d7b700837e6cd to your computer and use it in GitHub Desktop.

Select an option

Save joelbrewer/83bb7a9d7b700837e6cd to your computer and use it in GitHub Desktop.
ips.forEach(function(ip) {
var url = "/p/ip?ip=" + ip + "&days=" + days;
get_json_calls.push(
$.getJSON(url, function(data) {
data.push(data);
})
);
});
$.when.apply(null, get_json_calls).done(function() {
draw_sender_score_charts(data);
$(".charts").show();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment