mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 00:02:05 -05:00
9 lines
278 B
Text
9 lines
278 B
Text
|
import RestModel from 'discourse/models/rest';
|
||
|
|
||
|
export default RestModel.extend({
|
||
|
markdown: Em.computed.equal('format', 'markdown'),
|
||
|
plainText: Em.computed.equal('format', 'plain'),
|
||
|
html: Em.computed.equal('format', 'html'),
|
||
|
css: Em.computed.equal('format', 'css'),
|
||
|
});
|