MCPcopy
hub / github.com/JoelOtter/kajero / generateCode

Function generateCode

src/js/reducers/notebookReducer.js:159–163  ·  view source on GitHub ↗
(block)

Source from the content-addressed store, hash-verified

157}
158
159function generateCode(block) {
160 return 'return graphs.' + block.get('graphType') +
161 '(' + block.get('dataPath') + getLabels(block) +
162 getHints(block) + ');';
163}
164
165function getHints(block) {
166 const hints = block.get('hints');

Callers 1

notebookFunction · 0.85

Calls 2

getLabelsFunction · 0.85
getHintsFunction · 0.85

Tested by

no test coverage detected