diff --git a/playground/src/App.svelte b/playground/src/App.svelte index ececd53..33b4f41 100644 --- a/playground/src/App.svelte +++ b/playground/src/App.svelte @@ -27,7 +27,7 @@ const redirectedHash = routingMode === 'multi' ? 'redir' : true; const redirector = new Redirector(); redirector.redirections.push({ - pattern: '/deprecated-path', + path: '/deprecated-path', href: () => { const pathnamePiece = calculateHref({ hash: false }, '/feat'); const hashPiece = calculateHref({ hash: redirectedHash }, '/new-path'); diff --git a/playground/src/lib/Tooltip.svelte b/playground/src/lib/Tooltip.svelte index 0263c65..7f43a0c 100644 --- a/playground/src/lib/Tooltip.svelte +++ b/playground/src/lib/Tooltip.svelte @@ -29,12 +29,10 @@ refElement = refEl; return () => { refElement = null; - console.log('setReferenceElement cleaned up.'); } } function calculateTooltipPos(ttipEl: HTMLElement) { - console.log('calculateTooltipPos'); if (!refElement || !shown) { return; } @@ -46,7 +44,6 @@ offset(8) ], }).then(result => { - console.log(result); pos = { x: result.x, y: result.y