Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeshero committed Nov 5, 2024
1 parent e118e92 commit d7b8301
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 129 deletions.
17 changes: 17 additions & 0 deletions assets/index-e7deacc2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))s(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const c of t.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function r(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function s(e){if(e.ep)return;e.ep=!0;const t=r(e);fetch(e.href,t)}})();const n="/assets/javascript-8dac5379.svg",l="/vite.svg";function a(i){let o=0;const r=s=>{o=s,i.innerHTML=`count is ${o}`};i.addEventListener("click",()=>r(o+1)),r(0)}document.querySelector("#app").innerHTML=`
<div>
<a href="https://vitejs.dev" target="_blank">
<img src="${l}" class="logo" alt="Vite logo" />
</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank">
<img src="${n}" class="logo vanilla" alt="JavaScript logo" />
</a>
<h1>Hello Vite!</h1>
<div class="card">
<button id="counter" type="button"></button>
</div>
<p class="read-the-docs">
Click on the Vite logo to learn more
</p>
</div>
`;a(document.querySelector("#counter"));
1 change: 1 addition & 0 deletions assets/index-f7033b9c.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/javascript-8dac5379.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
<link rel="icon" type="image/svg+xml" href="/newt-mosaic4.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dr. B's Three JS Demo</title>
<script type="module" crossorigin src="/assets/index-e7deacc2.js"></script>
<link rel="stylesheet" href="/assets/index-f7033b9c.css">
</head>
<body>
<canvas id="bg"></canvas>
<section class="text">
<h1>Hello world! It's Dr. B</h1>
</section>
<script type="module" src="/main.js"></script>

</body>
</html>
25 changes: 0 additions & 25 deletions main.js

This file was deleted.

Binary file added newt-mosaic4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
103 changes: 0 additions & 103 deletions style.css

This file was deleted.

1 change: 1 addition & 0 deletions vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d7b8301

Please sign in to comment.