Skip to content

Instantly share code, notes, and snippets.

@wess
Created May 9, 2012 14:17
Show Gist options
  • Save wess/2644790 to your computer and use it in GitHub Desktop.
Save wess/2644790 to your computer and use it in GitHub Desktop.
Hacked Image Preloader for gerburms
(function(){
var imagePreload = function(imageUrlList)
{
for(var i = 0; i < imageUrlList.length; i++)
{
var image = new Image();
image.src = imageUrlList[i];
}
}
window.imagePreload = imagePreload
}))();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment