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

Function handleArcPathScript

packages/sdk/src/engine/mutate.ts:1198–1206  ·  view source on GitHub ↗
(
  parsed: ParsedDocument,
  oldScript: string,
  newScript: string,
)

Source from the content-addressed store, hash-verified

1196}
1197
1198function handleArcPathScript(
1199 parsed: ParsedDocument,
1200 oldScript: string,
1201 newScript: string,
1202): MutationResult {
1203 if (newScript === oldScript) return EMPTY;
1204 setGsapScript(parsed.document, newScript);
1205 return gsapScriptChange(oldScript, newScript);
1206}
1207
1208function handleDeleteAllForSelector(parsed: ParsedDocument, selector: string): MutationResult {
1209 const script = getGsapScript(parsed.document);

Callers 1

applyArcPathOpFunction · 0.85

Calls 2

setGsapScriptFunction · 0.85
gsapScriptChangeFunction · 0.85

Tested by

no test coverage detected