From b7c305e0024ca78c1d9f9d7a5107ffc124c56ab1 Mon Sep 17 00:00:00 2001
From: Mike Walton <walton.myke@gmail.com>
Date: Thu, 23 Mar 2023 05:56:20 +0000
Subject: [PATCH] adding myself to the showcase (#301)
---
assets/js/router.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/assets/js/router.js b/assets/js/router.js
index b2b6d21..c29ab77 100644
--- a/assets/js/router.js
+++ b/assets/js/router.js
@@ -3,7 +3,7 @@
navigate,
prefetch,
router,
-} from "https://unpkg.com/million@1.11.3/dist/router.mjs"
+} from "https://unpkg.com/million@1.11.5/dist/router.mjs"
export const attachSPARouting = (init, rerender) => {
// Attach SPA functions to the global Million namespace
@@ -15,7 +15,6 @@
}
const render = () => requestAnimationFrame(rerender)
-
window.addEventListener("DOMContentLoaded", () => {
apply((doc) => init(doc))
init()
--
Gitblit v1.10.0