Created
January 4, 2012 16:31
-
-
Save dogeared/1560822 to your computer and use it in GitHub Desktop.
Trello card counter (until there's an API)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Instructions: | |
// (1) Browse to your favorite Trello board | |
// (2) Drop this into your friendly Chrome inspector or Firefox Firebug console | |
$('.list').each(function(index) { | |
var outer = $(this); | |
$(this).find('h2.current').each(function(index) { | |
console.log($(this).text() + ': ' + outer.find('.list-card').length) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment