DOM EventStreams (take two on Streams): Request for feedback
Tab Atkins Jr.
jackalmage at gmail.com
Tue Apr 16 17:20:13 PDT 2013
On Tue, Apr 16, 2013 at 5:12 PM, Andrea Giammarchi
<andrea.giammarchi at gmail.com> wrote:
> why is that?
> void forEach(mapCB);
> if that's to make it consistent with Array#forEach you should accept the
> context argument in both map and forEach too?
Sorry, I forgot to update their signatures together. You're right
that it should have the same signature as .map().
> However, I don't get why this should not work:
Hm, so .forEach() just returns the same stream? Makes sense to me.
> Said that, I think is quite good after some renaming, but probably you need
> to write some more concrete example?
I need to point to a few example pages I've already found, actually.
The ACM page I link in the discussion of .switch() is very good!
> had already thoughts about a possible
> $(obj).on('loadStatus', updateLoadingUI); ^__^
> naaaaa, just kidding
More information about the es-discuss