Skip to content

Commit

Permalink
release meme.9
Browse files Browse the repository at this point in the history
  • Loading branch information
codediodeio committed Aug 26, 2022
1 parent 63237c0 commit a2e511c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions example/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ <h3 id="chapter">Heading</h3>
// test content length progress
window.addEventListener('flamethrower:router:fetch-progress', ({ detail }) => {
const loadBar = document.getElementById('load-bar');
console.log(detail);
console.log(loadBar);
console.log('Fetch Progress:', detail);
loadBar.style.width = detail.progress + '%';
});
</script>
Expand Down
2 changes: 0 additions & 2 deletions example/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ <h1 id="heading">Test Page</h1>
// test
window.addEventListener('flamethrower:router:fetch-progress', ({ detail }) => {
const loadBar = document.getElementById('load-bar');
console.log(detail);
console.log(loadBar);
loadBar.style.width = detail.progress + '%';
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flamethrower-router",
"version": "0.0.0-meme.8",
"version": "0.0.0-meme.9",
"description": "Blazingly fast SPA-like router for static sites",
"main": "dist/main.js",
"types": "dist/main.d.ts",
Expand Down

0 comments on commit a2e511c

Please sign in to comment.