resourceloader: remove redundant mw.loader type-checks
authorOri Livneh <ori@wikimedia.org>
Sun, 19 Jun 2016 04:34:38 +0000 (21:34 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 22 Jun 2016 16:29:25 +0000 (16:29 +0000)
commitf281d25c86e892a0b61cb7af1cd0e57f8998f8a4
tree368662a327beacf00324e8a5ebe0c9d29646602c
parent0a70f66c22333fc117f0fa52a4410b4921922876
resourceloader: remove redundant mw.loader type-checks

I searched Google and could not find any indication that anyone has encountered
these error messages in the wild since their introduction, half a decade go.
In my opinion they hurt readability substantially by displacing the main body
of the function away from its declaration.

Change-Id: Ifd33974b0c63f3d7ea44f1b0728de4b8b8dde099
resources/src/mediawiki/mediawiki.js