diff --git a/addon/components/paper-grid-list.js b/addon/components/paper-grid-list.js index 52751a9f7..441d372be 100644 --- a/addon/components/paper-grid-list.js +++ b/addon/components/paper-grid-list.js @@ -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(); diff --git a/addon/components/paper-grid-tile.js b/addon/components/paper-grid-tile.js index 4a847fe8a..341e4a63e 100644 --- a/addon/components/paper-grid-tile.js +++ b/addon/components/paper-grid-tile.js @@ -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); } /**