Compare commits

...

2 Commits

Author SHA1 Message Date
Rich Harris
892b18cf80 -> v0.0.17 2017-12-15 16:47:34 -05:00
Rich Harris
0eb96bf01f oops, remove logging 2017-12-15 16:47:29 -05:00
2 changed files with 1 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "sapper",
"version": "0.0.16",
"version": "0.0.17",
"description": "Combat-ready apps, engineered by Svelte",
"main": "connect.js",
"directories": {

View File

@@ -144,8 +144,6 @@ const app = {
if (!event.state) return; // hashchange, or otherwise outside sapper's control
scroll_history[cid] = scroll_state();
console.log(`storing current scroll: ${cid}`, scroll_state());
console.log(`navigating to state: ${event.state.id}`, scroll_history[event.state.id]);
navigate(new URL(window.location), event.state.id);
});