Skip to content

Instantly share code, notes, and snippets.

@aFarkas aFarkas/runpicturefill.js
Last active Aug 29, 2015

What would you like to do?
var timer;
var run = function(){
if(document.readyState == 'complete'){
timer = setInterval(run, 250);
setTimeout(run, document.body ? 9 : 99);
document.addEventListener('readystatechange', run, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.