Created
May 1, 2015 08:56
-
-
Save eriknygren/92e8ed42c8311d2db8f8 to your computer and use it in GitHub Desktop.
grovesharklol123
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 libraryKey = Object.keys(localStorage).filter(function(key) { return key.match(/library\d/) }); | |
var lib = JSON.parse(localStorage[libraryKey]).songs | |
var songs = [] | |
for (var i in lib) { | |
var song = lib[i] | |
songs.push(song.D + " - " + song.B + " - " + song.J) | |
} | |
songs.join("\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment