build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2
The following rules are failing and were disabled:
* resources/js:
* es-x/no-object-assign
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2
Change-Id: I93fa42275d02c006a0dcb2be6fc152c5a0daaa15
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
},
|
||||
|
||||
load: function () {
|
||||
mw.webfonts.preferences.registry = $.extend( this.registry,
|
||||
mw.webfonts.preferences.registry = Object.assign( this.registry,
|
||||
ulsPreferences.get( 'webfonts' ) );
|
||||
}
|
||||
};
|
||||
@@ -70,7 +70,7 @@
|
||||
mediawikiFontRepository.base = mw.config.get( 'wgULSFontRepositoryBasePath' );
|
||||
|
||||
// MediaWiki specific overrides for jquery.webfonts
|
||||
$.extend( $.fn.webfonts.defaults, {
|
||||
Object.assign( $.fn.webfonts.defaults, {
|
||||
repository: mediawikiFontRepository,
|
||||
fontStack: $( document.body ).css( 'font-family' ).split( /, /g ),
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user