diff --git a/app/assets/javascripts/discourse/views/topic_admin_menu_view.js b/app/assets/javascripts/discourse/views/topic-admin-menu.js.es6 similarity index 91% rename from app/assets/javascripts/discourse/views/topic_admin_menu_view.js rename to app/assets/javascripts/discourse/views/topic-admin-menu.js.es6 index 8864afbb441..34f68a50b1e 100644 --- a/app/assets/javascripts/discourse/views/topic_admin_menu_view.js +++ b/app/assets/javascripts/discourse/views/topic-admin-menu.js.es6 @@ -6,7 +6,7 @@ @namespace Discourse @module Discourse **/ -Discourse.TopicAdminMenuView = Discourse.View.extend({ +export default Discourse.View.extend({ willDestroyElement: function() { $('html').off('mouseup.discourse-topic-admin-menu'); diff --git a/app/assets/javascripts/discourse/views/unknown_view.js b/app/assets/javascripts/discourse/views/unknown.js.es6 similarity index 74% rename from app/assets/javascripts/discourse/views/unknown_view.js rename to app/assets/javascripts/discourse/views/unknown.js.es6 index 59206b08528..7b974a19bc2 100644 --- a/app/assets/javascripts/discourse/views/unknown_view.js +++ b/app/assets/javascripts/discourse/views/unknown.js.es6 @@ -1,4 +1,4 @@ -Discourse.UnknownView = Em.View.extend({ +export default Em.View.extend({ classNameBindings: [':container'], render: function(buffer) {