refactoring..

This commit is contained in:
Marcell Mars 2021-04-24 01:54:25 +02:00
parent d7ce98e276
commit db43fba643
1 changed files with 2 additions and 5 deletions

View File

@ -27,7 +27,7 @@
return Array.from(diff)
}
function dispatchHashMock() {
function loadHugoPageMetadata() {
var el = document.createElement('script');
el.onload = ()=> {
v = repo.content;
@ -70,10 +70,7 @@
}
}
onMount(()=> {
dispatchHashMock()
})
onMount(()=> {loadHugoPageMetadata()})
</script>
<svelte:window on:keyup={keyUp}/>