Remove RawDivView and use regular handlebars
This commit is contained in:
parent
b11e1f8b40
commit
e7f349ff0f
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{view Discourse.RawDivView class="cooked" contentBinding="cooked"}}
|
||||
<div class='cooked'>{{{cooked}}}</div>
|
||||
{{view Discourse.PostMenuView postBinding="this" postViewBinding="view"}}
|
||||
</div>
|
||||
{{view Discourse.RepliesView contentBinding="replies" postViewBinding="view"}}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
// used to render a div with unescaped contents
|
||||
|
||||
Discourse.RawDivView = Ember.View.extend({
|
||||
|
||||
shouldRerender: Discourse.View.renderIfChanged('content'),
|
||||
|
||||
render: function(buffer) {
|
||||
buffer.push(this.get('content'));
|
||||
}
|
||||
|
||||
});
|
Loading…
Reference in New Issue