Skip to content

Instantly share code, notes, and snippets.

@quis
Created October 6, 2010 09:36
Show Gist options
  • Save quis/613082 to your computer and use it in GitHub Desktop.
Save quis/613082 to your computer and use it in GitHub Desktop.
(function preloadImages() {
for (i in arguments) {
(new Image()).src = arguments[i];
}
}("image1.png", "image2.png"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment