Created
March 27, 2013 06:38
-
-
Save yocontra/5252223 to your computer and use it in GitHub Desktop.
faces json output script
This file contains hidden or 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
JSON.stringify($("img").map(function () { | |
var e = $(this); | |
return { | |
url: e.parent().attr('href'), | |
image: e.attr('src') | |
}; | |
}).get()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment