Skip to content

Commit c78673a

Browse files
Fix MDN links for requestAnimationFrame/cancelAnimationFrame
1 parent ab65233 commit c78673a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,9 +3424,9 @@ declare var AnimationEvent: {
34243424
};
34253425

34263426
interface AnimationFrameProvider {
3427-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelAnimationFrame) */
3427+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
34283428
cancelAnimationFrame(handle: number): void;
3429-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */
3429+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
34303430
requestAnimationFrame(callback: FrameRequestCallback): number;
34313431
}
34323432

@@ -42986,9 +42986,9 @@ declare function toString(): string;
4298642986
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
4298742987
*/
4298842988
declare function dispatchEvent(event: Event): boolean;
42989-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelAnimationFrame) */
42989+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
4299042990
declare function cancelAnimationFrame(handle: number): void;
42991-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestAnimationFrame) */
42991+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
4299242992
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
4299342993
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */
4299442994
declare var onabort: ((this: Window, ev: UIEvent) => any) | null;

inputfiles/mdn.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5410,9 +5410,9 @@
54105410
"summary": "The DedicatedWorkerGlobalScope object (the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers."
54115411
},
54125412
{
5413-
"mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame",
5413+
"mdn_url": "/en-US/docs/Web/API/Window/cancelAnimationFrame",
54145414
"pageType": "web-api-instance-method",
5415-
"summary": "The cancelAnimationFrame() method of the DedicatedWorkerGlobalScope interface cancels an animation frame request previously scheduled through a call to requestAnimationFrame()."
5415+
"summary": "The cancelAnimationFrame() method of the Window interface cancels an animation frame request previously scheduled through a call to requestAnimationFrame()."
54165416
},
54175417
{
54185418
"mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/close",
@@ -5440,9 +5440,9 @@
54405440
"summary": "The postMessage() method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it."
54415441
},
54425442
{
5443-
"mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame",
5443+
"mdn_url": "/en-US/docs/Web/API/Window/requestAnimationFrame",
54445444
"pageType": "web-api-instance-method",
5445-
"summary": "The requestAnimationFrame() method of the DedicatedWorkerGlobalScope interface tells the browser you wish to perform an animation frame request and call a user-supplied callback function before the next repaint."
5445+
"summary": "The requestAnimationFrame() method of the Window interface ..."
54465446
},
54475447
{
54485448
"mdn_url": "/en-US/docs/Web/API/DedicatedWorkerGlobalScope/rtctransform_event",

0 commit comments

Comments
 (0)