mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Merge "ArticleTargetSaver: Use mw.deflateAsync"
This commit is contained in:
commit
2aca9f32e1
|
@ -33,7 +33,7 @@
|
||||||
* @return {jQuery.Promise} Promise resolved with deflated HTML
|
* @return {jQuery.Promise} Promise resolved with deflated HTML
|
||||||
*/
|
*/
|
||||||
deflate: function ( html ) {
|
deflate: function ( html ) {
|
||||||
return mw.loader.using( 'mediawiki.deflate' ).then( () => mw.deflate( html ) );
|
return mw.loader.using( 'mediawiki.deflate' ).then( () => mw.deflateAsync( html ) );
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue