]> zoso.dev Git - nano-pow.git/commitdiff
Use @latest version of packages in test page.
authorChris Duncan <chris@zoso.dev>
Mon, 13 Jan 2025 16:35:55 +0000 (08:35 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 13 Jan 2025 16:35:55 +0000 (08:35 -0800)
test.html

index 48b475db76812cd7879a9f51a664fec1cc16e4fa..dc799ab5778638e8d6b2422a7d4fa97869730f7f 100644 (file)
--- a/test.html
+++ b/test.html
@@ -7,10 +7,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
 
 <head>
        <link rel="icon" href="./favicon.ico">
+       <!-- Comment out local build if testing published package -->
        <script type="module" src="./dist/main.min.js"></script>
-       <!-- Comment out nano-pow from CDN if testing locally -->
-       <script type="module" src="https://cdn.jsdelivr.net/npm/nano-pow@1.2.0/dist/global.min.js"></script>
-       <script type="module" src="https://cdn.jsdelivr.net/npm/nano-webgl-pow@1.1.1/nano-webgl-pow.js"></script>
+       <!-- Comment out CDN package link if testing locally -->
+       <script type="module" src="https://cdn.jsdelivr.net/npm/nano-pow@latest/dist/global.min.js"></script>
+       <!-- Comment out nano-webgl-pow if uninterested in speed comparison -->
+       <script type="module" src="https://cdn.jsdelivr.net/npm/nano-webgl-pow@latest/nano-webgl-pow.js"></script>
        <script type="module">
                import { NanoPow, NanoPowGl, NanoPowGpu } from './dist/main.min.js'
                const COUNT = 0x20
@@ -167,11 +169,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
        <p>NanoPowGl uses WebGL 2.0 and is a fallback option in the NanoPow package.</p>
        <p>nano-webgl-pow is the original package from which NanoPow was inspired and optimized.</p>
        <p>Times below are in milliseconds and summarized by various averaging methods.</p>
-       <hr/>
+       <hr />
        <h3 id="status">TESTING IN PROGRESS</h3>
-       <hr/>
+       <hr />
        <pre id="summary"></pre>
-       <hr/>
+       <hr />
        <pre id="output"></pre>
 </body>