Merge branch 'chexxor-patch-1'

This commit is contained in:
Rich Harris
2018-01-20 12:40:35 -05:00

View File

@@ -60,7 +60,7 @@ function render(Component: ComponentConstructor, data: any, scroll: ScrollPositi
component = new Component({
target,
data,
hydrate: !!component
hydrate: !component
});
if (scroll) {
@@ -224,4 +224,4 @@ export function goto(href: string, opts = { replaceState: false }) {
} else {
window.location.href = href;
}
}
}