mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
ES6: Just a couple of views
This commit is contained in:
parent
2cd55b1fa2
commit
eedb0df4fb
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue