diff --git a/app/assets/javascripts/discourse/components/categorydrop_component.js b/app/assets/javascripts/discourse/components/category-drop.js.es6 similarity index 97% rename from app/assets/javascripts/discourse/components/categorydrop_component.js rename to app/assets/javascripts/discourse/components/category-drop.js.es6 index fdbd4262028..59814925ef9 100644 --- a/app/assets/javascripts/discourse/components/categorydrop_component.js +++ b/app/assets/javascripts/discourse/components/category-drop.js.es6 @@ -6,7 +6,7 @@ @namespace Discourse @module Discourse **/ -Discourse.CategoryDropComponent = Ember.Component.extend({ +export default Ember.Component.extend({ classNameBindings: ['category::no-category', 'categories:has-drop'], tagName: 'li', diff --git a/app/assets/javascripts/discourse/components/group_selector_component.js b/app/assets/javascripts/discourse/components/group-selector.js.es6 similarity index 56% rename from app/assets/javascripts/discourse/components/group_selector_component.js rename to app/assets/javascripts/discourse/components/group-selector.js.es6 index 597634a8138..d8400b02abe 100644 --- a/app/assets/javascripts/discourse/components/group_selector_component.js +++ b/app/assets/javascripts/discourse/components/group-selector.js.es6 @@ -1,4 +1,21 @@ -Discourse.GroupSelectorComponent = Em.Component.extend({ +var compiled; + +function templateFunction() { + compiled = compiled || Handlebars.compile( + "