mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 14:32:25 -05:00
9 lines
232 B
JavaScript
9 lines
232 B
JavaScript
Discourse.Dialect.inlineBetween({
|
|
start: '[poll]',
|
|
stop: '[/poll]',
|
|
rawContents: true,
|
|
emitter: function(contents) {
|
|
var list = Discourse.Dialect.cook(contents, {});
|
|
return ['div', {class: 'poll-ui'}, list];
|
|
}
|
|
});
|