Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Remove redundant template.destroy() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Jan 16, 2019
1 parent e4aa37d commit e8c21cc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,6 @@ export default class Template {
this._revertTemplateFromNode( node, this._revertData );
}

destroy() {
this.stopListening();
}

/**
* Returns an iterator which traverses the template in search of {@link module:ui/view~View}
* instances and returns them one by one.
Expand Down

0 comments on commit e8c21cc

Please sign in to comment.