ソースを参照

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.