( parsed: ParsedDocument, animationId: string, )
| 1166 | } |
| 1167 | |
| 1168 | function handleSplitIntoPropertyGroups( |
| 1169 | parsed: ParsedDocument, |
| 1170 | animationId: string, |
| 1171 | ): MutationResult { |
| 1172 | const script = getGsapScript(parsed.document); |
| 1173 | if (!script) return EMPTY; |
| 1174 | const { script: newScript } = splitIntoPropertyGroupsFromScript(script, animationId); |
| 1175 | if (newScript === script) return EMPTY; |
| 1176 | setGsapScript(parsed.document, newScript); |
| 1177 | return gsapScriptChange(script, newScript); |
| 1178 | } |
| 1179 | |
| 1180 | function handleSplitAnimations( |
| 1181 | parsed: ParsedDocument, |
no test coverage detected