resourceloader: Minor optimisation in variable declarations
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 9 Mar 2019 04:56:54 +0000 (04:56 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 9 Mar 2019 05:10:08 +0000 (05:10 +0000)
commit346abb85a2c6cf421b621067bd7d743644a4721a
treea28e385ef6fa5a40ca7366d91a74fc18d490e09e
parent7dc2f3993272d55f1b43d1ce6fd7a3be50bf39d2
resourceloader: Minor optimisation in variable declarations

Trying out Safari after a while and, it's Dev Tools have a
way to see the compiler's type inference, showing that Safari
is not able to always detect some numbers as non-optional.

While I generally avoid optimising for an optimiser, I believe
being more explicit is always better or equal. Plus, it saves a
few bytes while at it.

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