http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
14 lines
268 B
JavaScript
14 lines
268 B
JavaScript
(function() {
|
|
|
|
Discourse.TopicAdminMenuController = Ember.ObjectController.extend({
|
|
visible: false,
|
|
show: function() {
|
|
return this.set('visible', true);
|
|
},
|
|
hide: function() {
|
|
return this.set('visible', false);
|
|
}
|
|
});
|
|
|
|
}).call(this);
|