Skip to content

Instantly share code, notes, and snippets.

@srt32
Created September 16, 2014 22:38
Show Gist options
  • Save srt32/ce4b7369b443b02a33d6 to your computer and use it in GitHub Desktop.
Save srt32/ce4b7369b443b02a33d6 to your computer and use it in GitHub Desktop.
// original
function updateImage(){
square_urls.map(function(urls){
urls.map(function(u){
console.log(u);
});
});
}
//pseudo code
function updateImage(){
square_urls.map(function(urls){
// url = < pick a random url from urls >;
// imageTag = < find the image tag using jquery >;
// imageTag.src = url;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment