resourceloader: Remove check for Function#bind and Object.defineProperty
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 15 Sep 2018 18:46:51 +0000 (19:46 +0100)
committerKrinkle <krinklemail@gmail.com>
Wed, 19 Sep 2018 14:35:19 +0000 (14:35 +0000)
commitb1027342928520f9c4553f49039384dea6032c15
treefd0abb95a1b6d4077f1a9f04fb24ad2187d383e6
parentd57976ede0c870047704c0f089689492a00819ed
resourceloader: Remove check for Function#bind and Object.defineProperty

* Function#bind is a given per the explicit feature test for Grade A.
* Object.defineProperty is part of ES5 which is also tested for.

This code is from before we required ES5 and is now redundant.

Also remove the unused eslint-disable rule for global 'console' use,
the code in question does not use console as global unconditionally.

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