Browse Source

Remove redundant template.destroy() method.

Maciej Gołaszewski 7 years ago
parent
commit
59df0735b4
1 changed files with 0 additions and 4 deletions
  1. 0 4
      packages/ckeditor5-ui/src/template.js

+ 0 - 4
packages/ckeditor5-ui/src/template.js

@@ -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.