浏览代码

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.