We were lazy before and just used sync XHR to make sure multiple scripts were still executed in the right order. However I'm not getting a warning in my console (Firefox Nightly) that says sync XHR is deprecated.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/
Let's be preemptive and just build in the minimal work here to switch to async xhr and ensure we still process scripts in order.
We were lazy before and just used sync XHR to make sure multiple scripts were still executed in the right order. However I'm not getting a warning in my console (Firefox Nightly) that says sync XHR is deprecated.
Let's be preemptive and just build in the minimal work here to switch to async xhr and ensure we still process scripts in order.