( parsed: ParsedDocument, oldScript: string, newScript: string, )
| 1196 | } |
| 1197 | |
| 1198 | function 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 | |
| 1208 | function handleDeleteAllForSelector(parsed: ParsedDocument, selector: string): MutationResult { |
| 1209 | const script = getGsapScript(parsed.document); |
no test coverage detected