This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/views/raw_div_view.js
2013-03-24 18:13:03 -07:00

14 lines
249 B
JavaScript

// used to render a div with unescaped contents
Discourse.RawDivView = Ember.View.extend({
render: function(buffer) {
buffer.push(this.get('content'));
},
contentChanged: function() {
this.rerender();
}.observes('content')
});