Closed
Description
If I don't have a property set on a controller yet (could be set on an init function or similar) then you will get the deprecation notice for binding style attributes
Example
someInit: function(){
this.set('myProp', Ember.String.htmlSafe('width: 50%;');
}
To fix this you must explicitly do the following (which seems a little overkill)
myProp: Ember.String.htmlSafe(""),
someInit: function(){
this.set('myProp', Ember.String.htmlSafe('width: 50%;');
}
Metadata
Metadata
Assignees
Labels
No labels