diff --git a/app/assets/javascripts/discourse/templates/share.js.handlebars b/app/assets/javascripts/discourse/templates/share.js.handlebars
index 29a4bb73e..8ba4217c0 100644
--- a/app/assets/javascripts/discourse/templates/share.js.handlebars
+++ b/app/assets/javascripts/discourse/templates/share.js.handlebars
@@ -6,9 +6,7 @@
diff --git a/app/assets/javascripts/discourse/views/poster_expansion_view.js b/app/assets/javascripts/discourse/views/poster-expansion.js.es6
similarity index 95%
rename from app/assets/javascripts/discourse/views/poster_expansion_view.js
rename to app/assets/javascripts/discourse/views/poster-expansion.js.es6
index dc775fd73..65b59803b 100644
--- a/app/assets/javascripts/discourse/views/poster_expansion_view.js
+++ b/app/assets/javascripts/discourse/views/poster-expansion.js.es6
@@ -8,7 +8,7 @@
var clickOutsideEventName = "mousedown.outside-poster-expansion";
-Discourse.PosterExpansionView = Discourse.View.extend({
+export default Discourse.View.extend({
elementId: 'poster-expansion',
classNameBindings: ['controller.visible::hidden', 'controller.showBadges'],
@@ -29,7 +29,6 @@ Discourse.PosterExpansionView = Discourse.View.extend({
}
}
});
-
}.observes('controller.model'),
didInsertElement: function() {
diff --git a/app/assets/javascripts/discourse/views/share_link_view.js b/app/assets/javascripts/discourse/views/share-link.js.es6
similarity index 83%
rename from app/assets/javascripts/discourse/views/share_link_view.js
rename to app/assets/javascripts/discourse/views/share-link.js.es6
index 982e09c19..3f399d601 100644
--- a/app/assets/javascripts/discourse/views/share_link_view.js
+++ b/app/assets/javascripts/discourse/views/share-link.js.es6
@@ -7,8 +7,8 @@
@namespace Discourse
@module Discourse
**/
-Discourse.ShareLinkView = Discourse.View.extend({
+export default Ember.View.extend({
templateName: 'share_link',
tagName: 'div',
classNameBindings: [':social-link']
-});
\ No newline at end of file
+});