mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] scheduler: capture requestAnimationFrame asap
This is useful to prevent interactions with other testing code.
This commit is contained in:
committed by
Samuel Degueldre
parent
9a54afcdf5
commit
8e36a11b6e
+1
-1
@@ -25,7 +25,7 @@ export class App<T extends typeof Component = any> extends TemplateSet {
|
||||
Root: T;
|
||||
props: any;
|
||||
env: Env;
|
||||
scheduler = new Scheduler(window.requestAnimationFrame.bind(window));
|
||||
scheduler = new Scheduler();
|
||||
root: ComponentNode | null = null;
|
||||
|
||||
constructor(Root: T, config: AppConfig = {}) {
|
||||
|
||||
Reference in New Issue
Block a user