зеркало из https://github.com/mozilla/reflex.git
Fix invalid comment.
This commit is contained in:
Родитель
93310f21af
Коммит
051c1254e6
|
@ -31,7 +31,7 @@ export class Effects /*::<a>*/ {
|
||||||
return new Perform(task)
|
return new Perform(task)
|
||||||
}
|
}
|
||||||
static tick /*::<a>*/(tag/*:(time:number) => a*/)/*:Effects<a>*/ {
|
static tick /*::<a>*/(tag/*:(time:number) => a*/)/*:Effects<a>*/ {
|
||||||
console.warn('Effects.tick is deprecated please use Effects.perform(Task.requestAnimationFrame.map(tag)) instead')
|
console.warn('Effects.tick is deprecated please use Effects.perform(Task.requestAnimationFrame().map(tag)) instead')
|
||||||
return new Perform(Task.requestAnimationFrame().map(tag))
|
return new Perform(Task.requestAnimationFrame().map(tag))
|
||||||
}
|
}
|
||||||
static receive /*::<a>*/(action/*:a*/)/*:Effects<a>*/ {
|
static receive /*::<a>*/(action/*:a*/)/*:Effects<a>*/ {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче