diff --git a/src/task.js b/src/task.js index 11d32bf..68756c3 100644 --- a/src/task.js +++ b/src/task.js @@ -37,7 +37,7 @@ export class Task /*::*/ { } static requestAnimationFrame /*::*/ ()/*:Task*/ { - return new RequestAnimationFrame() + return new AnimationFrame() } static send /*::*/ (address/*:Address*/, message/*:a*/)/*:Task*/ { @@ -124,7 +124,7 @@ class Sleep /*::*/ extends Task /*::*/ { } } -class RequestAnimationFrame /*::*/ extends Task /*::*/ { +class AnimationFrame /*::*/ extends Task /*::*/ { constructor() { super() }