mw.loader: Remove Deferred overhead from execute() hot code path
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 14 Sep 2017 09:52:52 +0000 (11:52 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 14 Sep 2017 09:52:52 +0000 (11:52 +0200)
commit0948196ce4291461daf65c8b0847362b2fc1fd82
tree8128049cc526e25e4099c646d48806a8d3288517
parent695d3ed5e36ff688a5cd17f8fc8a1564b93777f8
mw.loader: Remove Deferred overhead from execute() hot code path

This was introduced by 0ac4f99804c for the concept of globally
implied legacy dependencies.

Commit ba257035b07 then re-purposed this for the site/user module
dependency.

The legacy wait was removed in 0ac6076b4c0, thus leaving only the
site/user code.

This commit now simplifies the code back to how it was before 0ac4f99804c
(but keeping the improved error handling from ba257035b07).

Change-Id: I2eae3b78fbe4f03a7a098d8a6233bdc2b79171b8
resources/src/mediawiki/mediawiki.js