mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
Deprecation: Use Ember.Helper
for later versions of Ember
This commit is contained in:
@ -24,7 +24,7 @@ export default Em.Component.extend({
|
||||
|
||||
options.forEach((option, i) => {
|
||||
const percentage = percentages[i];
|
||||
const style = new Ember.Handlebars.SafeString(`width: ${percentage}%`);
|
||||
const style = new Handlebars.SafeString(`width: ${percentage}%`);
|
||||
|
||||
option.setProperties({
|
||||
percentage,
|
||||
|
Reference in New Issue
Block a user