Created
February 12, 2013 12:57
-
-
Save k9ordon/4762681 to your computer and use it in GitHub Desktop.
8tracks liked tracks to plain
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
$( "li.track" ).each(function( index ) { | |
var track = $('.t', this).text(), | |
artist = $('.a', this).text().replace("&",""); | |
$(this).text(artist + ' - ' +track); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment