resourceloader: Move registration of Resources.php to ServiceWiring
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 6 Apr 2019 20:41:36 +0000 (21:41 +0100)
committerKrinkle <krinklemail@gmail.com>
Sat, 6 Apr 2019 23:35:58 +0000 (23:35 +0000)
commit47422fabe2813fb12b7663257924fdf4cd7cd0d1
tree715d224b1cf1f2ea8ef93f1d48e475d39a3256ce
parent9e1e44910e2b518073402d94b44eae2f5d67e6eb
resourceloader: Move registration of Resources.php to ServiceWiring

This identified something we hadn't codified before which is that
we expect the 'startup' module to always exist. The code and tests
for ResourceLoaderClientHtml also assume this, which we now
acknowledge explicitly by leaving it in the constructor.

Bug: T32956
Change-Id: Iffc545eb32078aed0d059e5902a5c9382e14c641
includes/ServiceWiring.php
includes/resourceloader/ResourceLoader.php
resources/Resources.php