Skip to content

Instantly share code, notes, and snippets.

@yoavweiss
Created September 3, 2012 12:43
Show Gist options
  • Save yoavweiss/3609089 to your computer and use it in GitHub Desktop.
Save yoavweiss/3609089 to your computer and use it in GitHub Desktop.
post-onload async script loader
(function(s){var a=addEventListener,d=document;if(a){a("load",function(){setTimeout(function(){d.body.appendChild(d.createElement('script')).src=s})})}})("a.js")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment