You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Ember 1.13.0-beta.2, having a component with both a currentState property and an init method with a call to this.set on any property causes the following error:
Uncaught TypeError: this.currentState.legacyPropertyDidChange is not a function
In the documentation, currentState is not specified as being a private property of Ember.Component, but it appears that it's being used as such internally.
Sadly, this was missed during the work for Ember 2.0.0. I updated the internals in #12163 to move the reserved word to ._currentState, and flagged the .currentState deprecation to be removed in 2.3.0 (after the next LTS release).
In Ember 1.13.0-beta.2, having a component with both a
currentState
property and aninit
method with a call tothis.set
on any property causes the following error:See: http://jsfiddle.net/as72hpe0/, extract:
In the documentation,
currentState
is not specified as being a private property ofEmber.Component
, but it appears that it's being used as such internally.Code ref:
ember.js/packages/ember-views/lib/compat/attrs-proxy.js
Line 119 in a3fad34
The text was updated successfully, but these errors were encountered: