more styling
[roojs1] / Roo / htmleditor / FilterComment.js
1 /**
2  * @class Roo.htmleditor.FilterComment
3  * remove comments.
4  * @constructor
5 * Run a new Comments Filter
6 * @param {Object} config Configuration options
7  */
8 Roo.htmleditor.FilterComment = function(cfg)
9 {
10     this.walk(cfg.node);
11 }
12
13 Roo.extend(Roo.htmleditor.FilterComment, Roo.htmleditor.Filter,
14 {
15   
16     replaceComment : function(n)
17     {
18         n.parentNode.removeChild(n);
19     }
20 });