http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
13 lines
279 B
JavaScript
13 lines
279 B
JavaScript
(function() {
|
|
|
|
window.Discourse.FeaturedTopicsView = Ember.View.extend({
|
|
templateName: 'featured_topics',
|
|
classNames: ['category-list-item'],
|
|
init: function() {
|
|
this._super();
|
|
return this.set('context', this.get('content'));
|
|
}
|
|
});
|
|
|
|
}).call(this);
|