зеркало из https://github.com/mozilla/reflex.git
Rename `RequestAnimationFrame` to `AnimationFrame`
This commit is contained in:
Родитель
f1ade5e9db
Коммит
72e6db5c2e
|
@ -37,7 +37,7 @@ export class Task /*::<x, a>*/ {
|
|||
}
|
||||
|
||||
static requestAnimationFrame /*::<x>*/ ()/*:Task<x, Time>*/ {
|
||||
return new RequestAnimationFrame()
|
||||
return new AnimationFrame()
|
||||
}
|
||||
|
||||
static send /*::<x, a>*/ (address/*:Address<a>*/, message/*:a*/)/*:Task<x, void>*/ {
|
||||
|
@ -124,7 +124,7 @@ class Sleep /*::<x, a:void>*/ extends Task /*::<x, void>*/ {
|
|||
}
|
||||
}
|
||||
|
||||
class RequestAnimationFrame /*::<x>*/ extends Task /*::<x, Time>*/ {
|
||||
class AnimationFrame /*::<x>*/ extends Task /*::<x, Time>*/ {
|
||||
constructor() {
|
||||
super()
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче