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
When you extend a view that has defined a _prepare and you want to extend/override it, you have no idea how to call ParentView.prototype._prepare.call(this, context); Does it return the context? Does it modify the one passed in? Torso did that logic but now everyone that extends one has to too (or they look at the specific implementation to see what it did)
The text was updated successfully, but these errors were encountered:
I believe this is alleviated by having _prepare always return the context. You can optionally add and modify the context passed in, but that part is optional, not the returning the context
When you extend a view that has defined a _prepare and you want to extend/override it, you have no idea how to call ParentView.prototype._prepare.call(this, context); Does it return the context? Does it modify the one passed in? Torso did that logic but now everyone that extends one has to too (or they look at the specific implementation to see what it did)
The text was updated successfully, but these errors were encountered: