Merge "Remove dummy isSupported function, deprecated in REL1_31"

This commit is contained in:
jenkins-bot 2018-04-18 10:32:20 +00:00 committed by Gerrit Code Review
commit ac1db705fa

View file

@ -60,20 +60,6 @@
*/
imgPath: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiEditor/modules/images/',
/**
* Checks if the client supports WikiEditor.
*
* Since 1.31 this check is deprecated and can be skipped as all browsers
* which are served JS by MediaWiki support WikiEditor.
*
* @deprecated since 1.31
* @return {boolean}
*/
isSupported: function () {
mw.log.warn( '$.wikiEditor.isSupported is deprecated.' );
return true;
},
/**
* Checks if a module has a specific requirement
*