Преглед на файлове

Remove redundant template.destroy() method.

Maciej Gołaszewski преди 7 години
родител
ревизия
59df0735b4
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  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.