mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 11:44:44 +08:00
9 lines
278 B
Plaintext
9 lines
278 B
Plaintext
|
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'),
|
||
|
});
|