http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
11 lines
291 B
JavaScript
11 lines
291 B
JavaScript
(function() {
|
|
|
|
window.Discourse.ParticipantView = Ember.View.extend({
|
|
templateName: 'participant',
|
|
toggled: (function() {
|
|
return this.get('controller.userFilters').contains(this.get('participant.username'));
|
|
}).property('controller.userFilters.[]')
|
|
});
|
|
|
|
}).call(this);
|