title: How can I force an array of scripts to load in sequential order?
body: <p>I am building a single-page web application and each "widget" may require one or more JavaScript or jQuery libraries. Some of those scripts may depend on other scripts, but if I just create a series of <code>$.getScript</code> calls, they may load out of order. How can I force that the scripts are loaded in order, i.e. that the process waits for script 1 to download before requesting script 2, etc.?</p>