You can:

https://github.com/baconjs/bacon.js?utm_source=javascriptweekly&utm_medium=email#function-construction-rules


On Mon, Sep 16, 2013 at 9:38 AM, Justin Walgran <notifications@github.com>wrote:

> In opentreemap/treemap/js/src/map.js:
>
> >                  .merge(triggeredQueryBus);
> >
> > -        triggeredQueryBus.onValue(Search.applySearchToDom);
> > +        triggeredQueryBus.onValue(_.partial(Search.applySearchToDom, elems));
>
> .onValue *might* behave like .map. You may not need to use _.partial here.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/azavea/OTM2/pull/360/files#r6376352>
> .
>



-- 
Adam Hinz
Software Engineer, Azavea
hinz.adam@gmail.com | c: 608-445-8391 | Twitter: @ahinz