Move l10n.js to coreResourcesList
authorColeman Watts <coleman@civicrm.org>
Sat, 16 Feb 2019 20:13:01 +0000 (15:13 -0500)
committerColeman Watts <coleman@civicrm.org>
Sat, 16 Feb 2019 20:13:01 +0000 (15:13 -0500)
commitadcd4bf79b8f0343249d40c39c09322217322ff6
tree8b6acaf4bfe9253f119aef806e87df092a048b34
parent9e1623e916dbd10b5bce5ab5896afc5b8e6ff361
Move l10n.js to coreResourcesList

This change allows core resources to be added to the list AFTER l10n variables
have been initialized. This is needed by crm.menubar.js.

Another upshot of this change is that extensions will be able to add items to the list
as fully-formed urls.
CRM/Core/Resources.php
tests/phpunit/CRM/Core/ResourcesTest.php