Skip to content

Instantly share code, notes, and snippets.

@kevee
Created February 17, 2015 16:16
Show Gist options
  • Select an option

  • Save kevee/438427fd9504de03fb86 to your computer and use it in GitHub Desktop.

Select an option

Save kevee/438427fd9504de03fb86 to your computer and use it in GitHub Desktop.
(function($) {
var committed = '54e2130d0adfe0dc754d6325';
$.getJSON('/csumb/proxy?url=https://trello.com/b/fInZhDeB.json', function(data) {
$.each(data.cards, function() {
var $item = $('<li>').html(this.name);
if(this.idList == committed) {
$('#commits-deployed').append($item);
}
else {
$('#commits-testing').append($item);
}
});
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment