MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / gsapScriptChange

Function gsapScriptChange

packages/sdk/src/engine/mutate.ts:990–996  ·  view source on GitHub ↗
(oldScript: string, newScript: string)

Source from the content-addressed store, hash-verified

988// ─── GSAP script patch helpers ───────────────────────────────────────────────
989
990function gsapScriptChange(oldScript: string, newScript: string): MutationResult {
991 const path = gsapScriptPath();
992 return {
993 forward: [{ op: "replace", path, value: newScript }],
994 inverse: [{ op: "replace", path, value: oldScript }],
995 };
996}
997
998// ─── Phase 3b handlers ───────────────────────────────────────────────────────
999

Callers 15

handleSetTimingFunction · 0.85
handleRemoveElementFunction · 0.85
handleAddWithKeyframesFunction · 0.85
handleAddGsapTweenFunction · 0.85
handleSetGsapTweenFunction · 0.85
handleRemoveGsapPropertyFunction · 0.85
handleRemoveGsapTweenFunction · 0.85
handleRemoveAllKeyframesFunction · 0.85
handleConvertToKeyframesFunction · 0.85

Calls 1

gsapScriptPathFunction · 0.85

Tested by

no test coverage detected