Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on LoadJS – A tiny async loader for modern browsers (710 bytes). Parent comment
There is no obvious easy way to wait for an `async` script to finish loading and executing before running code that depends on it. For instance, how would I load the jQuery library asynchronously before running code that depends on jQuery?
There are no comments on this comment yet.
There is no obvious easy way to wait for an `async` script to finish loading and executing before running code that depends on it. For instance, how would I load the jQuery library asynchronously before running code that depends on jQuery?