Skip to content

Commit

Permalink
chore: update wasm path in js examples (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashneverdawn authored Jun 5, 2024
1 parent c9deb5c commit f336d5b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 36 deletions.
30 changes: 0 additions & 30 deletions extensions/warp-ipfs/examples/from-js/basic-wasm.html

This file was deleted.

1 change: 0 additions & 1 deletion extensions/warp-ipfs/examples/from-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<body>
<h1>WASM Examples:</h1>
<ul>
<li><a href="./basic-wasm.html">basic-wasm</a></li>
<li><a href="./tesseract.html">tesseract</a></li>
<li><a href="./ipfs-identity.html">ipfs-identity</a></li>
<li><a href="./ipfs-friends.html">ipfs-friends</a></li>
Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/examples/from-js/ipfs-friends.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Warp Wasm Test</title>
</head>
<script type="module">
import init, * as wasm from './wasm/warp-ipfs/warp_ipfs.js';
import init, * as wasm from './built-wasm/warp-ipfs/warp_ipfs.js';
init().then(async (_exports) => {
console.log(wasm)

Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/examples/from-js/ipfs-identity.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Warp Wasm Test</title>
</head>
<script type="module">
import init, * as wasm from './wasm/warp-ipfs/warp_ipfs.js';
import init, * as wasm from './built-wasm/warp-ipfs/warp_ipfs.js';
init().then(async (_exports) => {
console.log(wasm)

Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/examples/from-js/ipfs-persistent.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Warp Wasm Test</title>
</head>
<script type="module">
import init, * as wasm from './wasm/warp-ipfs/warp_ipfs.js';
import init, * as wasm from './built-wasm/warp-ipfs/warp_ipfs.js';
init().then(async (_exports) => {
console.log(wasm)

Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/examples/from-js/ipfs-raygun.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Warp Wasm Test</title>
</head>
<script type="module">
import init, * as wasm from './wasm/warp-ipfs/warp_ipfs.js';
import init, * as wasm from './built-wasm/warp-ipfs/warp_ipfs.js';
init().then(async (_exports) => {
console.log(wasm)

Expand Down
2 changes: 1 addition & 1 deletion extensions/warp-ipfs/examples/from-js/tesseract.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Warp Wasm Test</title>
</head>
<script type="module">
import init, * as wasm from './wasm/warp-ipfs/warp_ipfs.js';
import init, * as wasm from './built-wasm/warp-ipfs/warp_ipfs.js';
init().then((_exports) => {
console.log(wasm)

Expand Down

0 comments on commit f336d5b

Please sign in to comment.