Created
September 10, 2012 23:59
-
-
Save codeincontext/3694924 to your computer and use it in GitHub Desktop.
because meh. Let's not block the ui for too long in one go
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
| var i = 0; | |
| var addPhotoInterval = setInterval(function() { | |
| instawall.renderImage(data.data[i++]); | |
| if (i == data.data.length) clearInterval(addPhotoInterval); | |
| }, 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment