FIX: 'typeClass' shoud handle multi-word setting types - take 2

This commit is contained in:
Régis Hanol 2015-08-28 01:13:11 +02:00
parent a289cb5156
commit 71c1eccf2b

View file

@ -21,7 +21,7 @@ export default Ember.Component.extend(BufferedContent, ScrollTop, {
@computed('componentType')
typeClass(componentType) {
return componentType.replace(/\_/g, ' ');
return componentType.replace(/\_/g, '-');
},
@computed("setting.setting")