MCPcopy Index your code
hub / github.com/getify/Functional-Light-JS / updateStock

Function updateStock

ch11-code/stock-ticker.js:25–37  ·  view source on GitHub ↗
(tickerElem,data)

Source from the content-addressed store, hash-verified

23 },
24
25 updateStock(tickerElem,data) {
26 var getStockElemFromId = curry( getStockElem )( tickerElem );
27 var stockInfoChildElemList = pipe(
28 getStockElemFromId,
29 getStockInfoChildElems
30 )
31 ( data.id );
32
33 return stockTickerUI.updateStockElems(
34 stockInfoChildElemList,
35 data
36 );
37 },
38
39 addStock(tickerElem,data) {
40 var [stockElem, ...infoChildElems] = map(

Callers

nothing calls this directly

Calls 1

curryFunction · 0.85

Tested by

no test coverage detected