Closed
Description
I have recently updated ui-route from ver 0.2.15 to 0.3.1 and I noticed that accessing to custom data has been changed. With ver 0.2.15, I could use _.extend(newVar, $state.current.data)
to initiate newVar using lodash. However, in ver 0.3.1, the properties of $state.current.data
are in$state.current.data.__proto__
. With this change, I have to do _.extend(newVar, $state.current.data.__proto__)
to achieve the same result. Is this intended behavior?
Thanks,
Metadata
Metadata
Assignees
Labels
No labels