Skip to content

Commit

Permalink
chore(addon/components/paper-grid-list): use better english.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Nov 12, 2024
1 parent f3cd300 commit cc02b59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions addon/components/paper-grid-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ export default class PaperGridList extends Component {
}

/**
* Unregisters a child tile component
* @param {PaperGridTile} tile - The tile component to unregister
* Removes a registered child tile component
* @param {PaperGridTile} tile - The tile component to deregister
* @param {Function} notifyUpdate - The notify callback to remove.
*/
@action unregisterChild(tile, notifyUpdate) {
@action deregisterChild(tile, notifyUpdate) {
this.children.delete(tile);
this.childrenNotifyUpdate.delete(notifyUpdate);
this.updateGrid();
Expand Down
2 changes: 1 addition & 1 deletion addon/components/paper-grid-tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default class PaperGridTile extends Component {
willDestroy() {
super.willDestroy(...arguments);

this.args.parent.unregisterChild(this, this.updateTile);
this.args.parent.deregisterChild(this, this.updateTile);
}

/**
Expand Down

0 comments on commit cc02b59

Please sign in to comment.