test(ivy): create todo app in ivy (#22921)

PR Close #22921
This commit is contained in:
Miško Hevery
2018-03-21 17:11:08 -07:00
committed by Alex Rickabaugh
parent 60065935be
commit 55c9fb298f
12 changed files with 1202 additions and 3 deletions

View File

@ -129,7 +129,7 @@ export function renderComponent<T>(
const rootContext: RootContext = {
// Incomplete initialization due to circular reference.
component: null !,
scheduler: opts.scheduler || requestAnimationFrame,
scheduler: opts.scheduler || requestAnimationFrame.bind(window),
clean: CLEAN_PROMISE,
};
const rootView = createLView(