cancel navigation if overtaken by a second navigation - fixes #48

This commit is contained in:
Rich Harris
2017-12-24 20:37:00 -05:00
parent 75aedf4663
commit 3c4ebcda30
4 changed files with 54 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
<h1>This page should never render</h1>
<script>
export default {
preload() {
return new Promise(fulfil => {
window.fulfil = fulfil;
});
}
};
</script>