After training the PHPStorm code formatter.
See https://github.com/siebrand/MediaWiki-PHPStorm Issue remains with anonymous functions in JavaScript. Change-Id: I2b520f8df127452acf02deb659277a6465e6ca59
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
( function ( $, mw, document, undefined ) {
|
||||
"use strict";
|
||||
|
||||
$( document ).ready( function() {
|
||||
$( document ).ready( function () {
|
||||
var mediawikiFontRepository = $.webfonts.repository;
|
||||
var webfontsPreferences = mw.uls.preferences( 'webfonts' );
|
||||
mediawikiFontRepository.base = mw.config.get( 'wgExtensionAssetsPath' )
|
||||
@@ -43,7 +43,7 @@
|
||||
}
|
||||
return font;
|
||||
},
|
||||
exclude: function() {
|
||||
exclude: function () {
|
||||
if ( mw.user.options.get( 'editfont' ) ) {
|
||||
// Exclude textboxes from webfonts if user has edit area font option
|
||||
// set using 'Preferences' page
|
||||
|
||||
Reference in New Issue
Block a user