8
0
Pārlūkot izejas kodu

Remove redundant template.destroy() method.

Maciej Gołaszewski 7 gadi atpakaļ
vecāks
revīzija
59df0735b4
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  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.