Created
November 17, 2014 09:47
-
-
Save kent013/1291d28c9f2c50c5801a to your computer and use it in GitHub Desktop.
github issue list to str
This file contains 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
var items = $('ul > li'); | |
$.each(items, function(k, v){ | |
var item = $(v); | |
var title = item.find('.issue-title > a').text().trim(); | |
var number = item.data('issue-id'); | |
var datetime = item.find('time').attr('title'); | |
console.debug('#' + number + ' ' + title); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment