File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Create and save `index.html` page with the following contents:
15
15
16
16
``` html
17
17
<html >
18
- <script src =" https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.3.0-2022-09-06-f /dist/browser.script.iife.js" ></script >
18
+ <script src =" https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.4.0 /dist/browser.script.iife.js" ></script >
19
19
<script type =" text/ruby" >
20
20
puts " Hello, world!"
21
21
</script >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $ npm install --save ruby-head-wasm-wasi@latest
13
13
# or if you want the nightly snapshot
14
14
$ npm install --save ruby-head-wasm-wasi@next
15
15
# or you can specify the exact snapshot version
16
- $ npm install --save ruby-head-wasm-wasi@0.3 .0-2022-04-16 -a
16
+ $ npm install --save ruby-head-wasm-wasi@0.4 .0-2022-11-04 -a
17
17
```
18
18
19
19
## Quick Start (for Node.js)
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ruby-head-wasm-wasi" ,
3
- "version" : " 0.3 .0" ,
3
+ "version" : " 0.4 .0" ,
4
4
"description" : " Ruby head built on WASI" ,
5
5
"main" : " ./dist/index.cjs.js" ,
6
6
"umd:main" : " ./dist/index.umd.js" ,
Original file line number Diff line number Diff line change 1
1
< html >
2
- < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.3.0-2022-09-06-f /dist/browser.script.iife.js "> </ script >
2
+ < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.4.0 /dist/browser.script.iife.js "> </ script >
3
3
< script type ="text/ruby ">
4
4
puts "Hello, world!"
5
5
</ script >
Original file line number Diff line number Diff line change 1
1
< html >
2
- < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.3.0-2022-09-06-f /dist/browser.script.iife.js "> </ script >
2
+ < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.4.0 /dist/browser.script.iife.js "> </ script >
3
3
< button id ="draw "> Draw Omikuji</ button >
4
4
< div id ="result "> </ div >
5
5
< script type ="text/ruby ">
Original file line number Diff line number Diff line change 1
1
< html >
2
- < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.3.0-2022-10-06-a /dist/browser.script.iife.js "> </ script >
2
+ < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.4.0 /dist/browser.script.iife.js "> </ script >
3
3
< script type ="text/ruby " src ="hello.rb "> </ script >
4
4
</ html >
You can’t perform that action at this time.
0 commit comments