mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 21:04:34 +00:00
easier templates
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
const router = {
|
||||
init(callback) {
|
||||
console.log('initing');
|
||||
window.addEventListener('click', event => {
|
||||
let a = event.target;
|
||||
while (a && a.nodeName !== 'A') a = a.parentNode;
|
||||
|
||||
Reference in New Issue
Block a user