resourceloader: Fix duplicate semi-colon in generated startup code
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 25 Jun 2018 18:25:36 +0000 (19:25 +0100)
committerKrinkle <krinklemail@gmail.com>
Mon, 25 Jun 2018 18:40:18 +0000 (18:40 +0000)
commit1d1178535f14868911b16b2437faf0642ef7b657
tree2d53fce7a35f54bceac314e3df62e3fb2b366db0
parent83c9efb5b9ddf52163c77dedaa710db3a3ec9d80
resourceloader: Fix duplicate semi-colon in generated startup code

The startup.js template used '$CODE.registrations();', which makes
sense syntatically (and for the linter), but the substitution logic
was only replacing the '$CODE.registrations()' portion.

This made the generated output contain two consecutive semi-colons.

Change-Id: Ibef1a0d932b19037987a7effa12aa57f578a142d
includes/resourceloader/ResourceLoaderStartUpModule.php