resourceloader: Avoid duplicate existence check
authorFomafix <fomafix@googlemail.com>
Sat, 1 Sep 2018 14:07:57 +0000 (16:07 +0200)
committerKrinkle <krinklemail@gmail.com>
Mon, 3 Sep 2018 23:48:14 +0000 (23:48 +0000)
commitc407ffc869704125ad26cc9643a655fe1fec0c13
tree6ed8b5707b295ddc9438952a2614ae992def4d1b
parent4105785a4995860a4f591f0e6bfffb83d71fb91e
resourceloader: Avoid duplicate existence check

The check above with the mw.loader.register( name ) ensures that
  hasOwn.call( registry, name )
is always true.

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