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
The problem in the source seems to be that you can't just pipe deferreds that resolve with more than one argument.
Yes you can. It just requires that you explicitly create a new Deferred instance and call resolveWith or rejectWith on this new instance before returning it as the result value.
It's a bit more verbose, but no more expensive than what the underlying library's pipe method would be doing under the hood when it gets back a value that is not already a promise...
An extra callback parameter was provided in 1.1.3 for can.view.render, but this is not working for can.view.
For example, data is defined here:
However, data is undefined here:
The problem in the source seems to be that you can't just pipe deferreds that resolve with more than one argument.
A jsFiddle sample can be seen here: http://jsfiddle.net/basememara/j9XSw/7/
Related issue can be seen here: #183
The text was updated successfully, but these errors were encountered: