Remove set event with no listeners

Change-Id: I4bdabf0129b65d76281f9f18b92ba202bb9840d3
This commit is contained in:
Adam Wight 2022-06-30 15:40:41 +02:00
parent 80344da282
commit 68e2f6279a

View file

@ -76,16 +76,6 @@ ve.ui.MWTwoPaneTransclusionDialogLayout = function VeUiMWTwoPaneTransclusionDial
OO.inheritClass( ve.ui.MWTwoPaneTransclusionDialogLayout, OO.ui.MenuLayout );
/* Events */
/**
* A 'set' event is emitted when a page is {@link #setPage set} to be displayed by the
* booklet layout.
*
* @event set
* @param {OO.ui.PageLayout} page Current page
*/
/* Methods */
/**
@ -342,7 +332,6 @@ ve.ui.MWTwoPaneTransclusionDialogLayout.prototype.clearPages = function () {
/**
* Set the current page by symbolic name.
*
* @fires set
* @param {string} name Symbolic name of page
*/
ve.ui.MWTwoPaneTransclusionDialogLayout.prototype.setPage = function ( name ) {
@ -371,7 +360,6 @@ ve.ui.MWTwoPaneTransclusionDialogLayout.prototype.setPage = function ( name ) {
page.setActive( true );
this.stackLayout.setItem( page );
this.refreshControls();
this.emit( 'set', page );
};
/**