File tree Expand file tree Collapse file tree 12 files changed +15
-15
lines changed
ruby-head-wasm-emscripten Expand file tree Collapse file tree 12 files changed +15
-15
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:
1515
1616``` html
1717<html >
18- <script src =" https://cdn.jsdelivr.net/npm/ruby-3_2-wasm-wasi@2.0 .0/dist/browser.script.iife.js" ></script >
18+ <script src =" https://cdn.jsdelivr.net/npm/ruby-3_2-wasm-wasi@2.1 .0/dist/browser.script.iife.js" ></script >
1919 <script type =" text/ruby" >
2020 puts " Hello, world!"
2121 </script >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $ npm install --save ruby-3_2-wasm-wasi@latest
1313# or if you want the nightly snapshot
1414$ npm install --save ruby-3_2-wasm-wasi@next
1515# or you can specify the exact snapshot version
16- $ npm install --save ruby-3_2-wasm-wasi@2.0 .0-2023-05-18 -a
16+ $ npm install --save ruby-3_2-wasm-wasi@2.1 .0-2023-07-28 -a
1717```
1818
1919## Quick Start (for Node.js)
Original file line number Diff line number Diff line change 11{
22 "name" : " ruby-3_2-wasm-wasi" ,
3- "version" : " 2.0 .0" ,
3+ "version" : " 2.1 .0" ,
44 "description" : " Ruby 3.2 built on WASI" ,
55 "main" : " ./dist/index.cjs.js" ,
66 "umd:main" : " ./dist/index.umd.js" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $ npm install --save ruby-head-wasm-emscripten@latest
1313# or if you want the nightly snapshot
1414$ npm install --save ruby-head-wasm-emscripten@next
1515# or you can specify the exact snapshot version
16- $ npm install --save ruby-head-wasm-emscripten@2.0 .0-2023-05-18 -a
16+ $ npm install --save ruby-head-wasm-emscripten@2.1 .0-2023-07-28 -a
1717```
1818
1919## Quick Start
Original file line number Diff line number Diff line change 11{
22 "name" : " ruby-head-wasm-emscripten" ,
3- "version" : " 2.0 .0" ,
3+ "version" : " 2.1 .0" ,
44 "description" : " Ruby head built on Emscripten" ,
55 "type" : " commonjs" ,
66 "main" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $ npm install --save ruby-head-wasm-wasi@latest
1313# or if you want the nightly snapshot
1414$ npm install --save ruby-head-wasm-wasi@next
1515# or you can specify the exact snapshot version
16- $ npm install --save ruby-head-wasm-wasi@2.0 .0-2023-05-18 -a
16+ $ npm install --save ruby-head-wasm-wasi@2.1 .0-2023-07-28 -a
1717```
1818
1919## Quick Start (for Node.js)
Original file line number Diff line number Diff line change 11{
22 "name" : " ruby-head-wasm-wasi" ,
3- "version" : " 2.0 .0" ,
3+ "version" : " 2.1 .0" ,
44 "description" : " Ruby head built on WASI" ,
55 "main" : " ./dist/index.cjs.js" ,
66 "umd:main" : " ./dist/index.umd.js" ,
Original file line number Diff line number Diff line change 11< html >
2- < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@2.0 .0/dist/browser.script.iife.js "> </ script >
2+ < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@2.1 .0/dist/browser.script.iife.js "> </ script >
33 < script type ="text/ruby ">
44 puts "Hello, world!"
55 </ script >
Original file line number Diff line number Diff line change 11< html >
2- < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@2.0 .0/dist/browser.script.iife.js "> </ script >
2+ < script src ="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@2.1 .0/dist/browser.script.iife.js "> </ script >
33 < button id ="draw "> Draw Omikuji</ button >
44 < div id ="result "> </ div >
55 < script type ="text/ruby ">
You can’t perform that action at this time.
0 commit comments