Skip to content

Instantly share code, notes, and snippets.

@tcr
Created October 25, 2011 22:22
Show Gist options
  • Save tcr/1314536 to your computer and use it in GitHub Desktop.
Save tcr/1314536 to your computer and use it in GitHub Desktop.
What's a mechanism for asynchronously loading 3rd party JavaScript?

LightningJS is a sandbox that integrates seamlessly with third party libraries by loading code into iframes and deferring execution so it doesn't slow down page load. It adds a level of indirection to third-party APIs, so code rewriting is required. Benchmarks are in its favor however.

["javascript"]
http://www.olark.com/spw/2011/10/lightningjs-safe-fast-and-asynchronous-third-party-javascript/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment