Skip to content

Commit

Permalink
Fix (ui): Add /* #__PURE__ */ comments before mixin calls to proper…
Browse files Browse the repository at this point in the history
…ly tree-shake unused classes.
  • Loading branch information
filipsobol committed Jul 2, 2024
1 parent ccc93c9 commit 3c569c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ckeditor5-ui/src/button/filedialogbuttonview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import ListItemButtonView from './listitembuttonview.js';
* } );
* ```
*/
export default class FileDialogButtonView extends FileDialogViewMixin( ButtonView ) {}
export default class FileDialogButtonView extends /* #__PURE__ */ FileDialogViewMixin( ButtonView ) {}

/**
* The file dialog button view used in a lists.
Expand All @@ -64,7 +64,7 @@ export default class FileDialogButtonView extends FileDialogViewMixin( ButtonVie
* } );
* ```
*/
export class FileDialogListItemButtonView extends FileDialogViewMixin( ListItemButtonView ) {}
export class FileDialogListItemButtonView extends /* #__PURE__ */ FileDialogViewMixin( ListItemButtonView ) {}

/**
* Mixin function that enhances a base button view class with file dialog functionality. It is used
Expand Down

0 comments on commit 3c569c6

Please sign in to comment.