resourceloader: Switch params for private addLink() function
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 13 Apr 2019 23:43:18 +0000 (00:43 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sun, 14 Apr 2019 00:09:14 +0000 (01:09 +0100)
commit5392cbe5a4d195a2951dfba36accee4d4fcd65e7
tree22a3ff5c9f9a54c32db94814d9d96ea6ad859e9f
parenta4c86d3017481544e1101fced86358848b800743
resourceloader: Switch params for private addLink() function

I don't recall how this awkward parameter order came about,
but it easy to change given it is a private function.

Switching the order makes it cleaner to then internally re-use
for mw.loader.load() which currently contains a duplicate version
of this logic.

Change-Id: Id686389991315c3d05222f8fd0b69f93f65e9924
resources/src/startup/mediawiki.js