(parsed: ParsedDocument, animationId: string)
| 1119 | } |
| 1120 | |
| 1121 | function handleRemoveAllKeyframes(parsed: ParsedDocument, animationId: string): MutationResult { |
| 1122 | const script = getGsapScript(parsed.document); |
| 1123 | if (!script) return EMPTY; |
| 1124 | const newScript = removeAllKeyframesFromScript(script, animationId); |
| 1125 | if (newScript === script) return EMPTY; |
| 1126 | setGsapScript(parsed.document, newScript); |
| 1127 | return gsapScriptChange(script, newScript); |
| 1128 | } |
| 1129 | |
| 1130 | function handleConvertToKeyframes( |
| 1131 | parsed: ParsedDocument, |
no test coverage detected