Lint and format src/runtime/internal/scheduler.js

pull/8569/head
S. Elliott Johnson 3 years ago
parent 8f7b17a211
commit ea9256935c

@ -66,8 +66,7 @@ export function flush() {
set_current_component(component);
update(component.$$);
}
}
catch (e) {
} catch (e) {
// reset dirty state to not end up in a deadlocked state and then rethrow
dirty_components.length = 0;
flushidx = 0;
@ -76,8 +75,7 @@ export function flush() {
set_current_component(null);
dirty_components.length = 0;
flushidx = 0;
while (binding_callbacks.length)
binding_callbacks.pop()();
while (binding_callbacks.length) binding_callbacks.pop()();
// then, once components are updated, call
// afterUpdate functions. This may cause
// subsequent updates...
@ -121,7 +119,3 @@ export function flush_render_callbacks(fns) {
targets.forEach((c) => c());
render_callbacks = filtered;
}

Loading…
Cancel
Save