mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
ES6: Just a couple of views
This commit is contained in:
parent
2cd55b1fa2
commit
eedb0df4fb
@ -6,7 +6,7 @@
|
|||||||
@namespace Discourse
|
@namespace Discourse
|
||||||
@module Discourse
|
@module Discourse
|
||||||
**/
|
**/
|
||||||
Discourse.TopicAdminMenuView = Discourse.View.extend({
|
export default Discourse.View.extend({
|
||||||
|
|
||||||
willDestroyElement: function() {
|
willDestroyElement: function() {
|
||||||
$('html').off('mouseup.discourse-topic-admin-menu');
|
$('html').off('mouseup.discourse-topic-admin-menu');
|
@ -1,4 +1,4 @@
|
|||||||
Discourse.UnknownView = Em.View.extend({
|
export default Em.View.extend({
|
||||||
classNameBindings: [':container'],
|
classNameBindings: [':container'],
|
||||||
|
|
||||||
render: function(buffer) {
|
render: function(buffer) {
|
Loading…
Reference in New Issue
Block a user