Ticket #2532215 (closed enhancement)
Reporter John Lindal |
Opened: 04/27/12 Last modified: 08/1/12 Status: closed Type: enhancement Resolution: fixed |
Owner Dav Glass |
Target Release: 3.6.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Y.Parallel should push arguments if fn is not specified | ||
| Description: | The way it is now, if I want to save the results passed to the callback, I have to pass a function which echoes its arguments. There is great value in providing the option to transform the results |
||
| Type: | enhancement | Observed in Version: | 3.5.0 |
| Component: | YUI Global Object | Severity: | S3 (normal) |
| Assigned To: | Dav Glass | Target Release: | 3.6.0 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 04/27/12
|
|
Posted: 05/1/12
|
|
Posted: 05/1/12
|
|
Posted: 05/11/12
|
|
Posted: 05/11/12
|
|
Posted: 05/11/12
Here is my suggestion: https://github.com/davglass/yui3/pull/1 |
|
Posted: 05/11/12
Merged, in the next build.. |
|
Posted: 05/14/12
|
|
Posted: 08/1/12
Shipped in 3.6.0. Marking closed/fixed. |
Eric Ferraiuolo
So you want this:
self.results.push(fn && fn.apply(self.context, arguments));
Changed to this?
self.results.push(fn && fn.apply(self.context, arguments) || arguments);
Can you give me a use case so I can add a test for this?