Skip to content

Instantly share code, notes, and snippets.

@kent013
Created November 17, 2014 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kent013/1291d28c9f2c50c5801a to your computer and use it in GitHub Desktop.
Save kent013/1291d28c9f2c50c5801a to your computer and use it in GitHub Desktop.
github issue list to str
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