MCPcopy Index your code
hub / github.com/plotly/plotly.js / applyUpdate

Function applyUpdate

src/plot_api/plot_template.js:301–307  ·  view source on GitHub ↗
(attr, value)

Source from the content-addressed store, hash-verified

299 }
300
301 function applyUpdate(attr, value) {
302 if(attr) modifyItem(attr, value);
303 var updateToApply = getUpdateObj();
304 for(var key in updateToApply) {
305 Lib.nestedProperty(parentIn, key).set(updateToApply[key]);
306 }
307 }
308
309 return {
310 modifyBase: modifyBase,

Callers

nothing calls this directly

Calls 2

modifyItemFunction · 0.85
getUpdateObjFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…