Skip to content

Instantly share code, notes, and snippets.

@Hakon
Created February 18, 2013 04:51
Show Gist options
  • Save Hakon/4975187 to your computer and use it in GitHub Desktop.
Save Hakon/4975187 to your computer and use it in GitHub Desktop.
$.makeArray($(".song").map(function(){ var title = $(this).find(".title").text(); var artist = $(this).find(".details span").contents().first().text(); return title + " - " + artist; })).join("\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment