MCPcopy
hub / github.com/KilledByAPixel/LittleJS / callback

Function callback

plugins/tweenSystem.js:426–431  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

424 const parts = propertyPath.split('.');
425 const lastKey = parts.pop();
426 const callback = (value) =>
427 {
428 let obj = target;
429 for (const k of parts) obj = obj[k];
430 obj[lastKey] = value;
431 };
432 return new Tween(callback, start, end, duration, options);
433}
434

Callers 4

shareURLFunction · 0.85
medalsForEachFunction · 0.85
constructorMethod · 0.85
listenerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected