resourceloader: Move startup code from PHP to startup.js
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 27 Jul 2015 22:47:05 +0000 (15:47 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 27 Jul 2015 23:41:16 +0000 (16:41 -0700)
commitb00cd0b12d9688694f6487b4b323a1b096dfca37
treed527704a8bfdc19e6074df3da00ab04e492f2449
parentd47fc0b2e193671ba6b474ba949de4547b1a2c83
resourceloader: Move startup code from PHP to startup.js

The code is easier to maintain in an actual JavaScript file.
Especially with how variables were declared and concatenated in
a different order.

Change-Id: I758acb78de1cdf2128e81c86f992807ef0dbf444
includes/resourceloader/ResourceLoaderStartUpModule.php
resources/src/startup.js
tests/phpunit/includes/resourceloader/ResourceLoaderStartUpModuleTest.php