Skip to content

Instantly share code, notes, and snippets.

@juliomenendez
Created September 16, 2011 14:23
Show Gist options
  • Save juliomenendez/1222225 to your computer and use it in GitHub Desktop.
Save juliomenendez/1222225 to your computer and use it in GitHub Desktop.
Get an array with all the changesets on a Trac ticket
$('a.changeset').map(function(i, o) { s = String($(o).html()).match(/^\[(\d+)/); return s[1]; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment