Files
pyscript/pyscript.core/test/ruby.html
Andrea Giammarchi af72e232c3 Worker sync utility (#1511)
* patched an issue with wasmoon randomly asking to resolve proxy references
  * simplified pyodide and micropython dance by grouping their common utilities together
  * created an integration test around a worker to main thread input between MicroPython and Lua
  * commented some weird bugs / funny behaviors around both MicroPython and Pyodide
  * other minor clean ups
2023-06-08 11:10:47 +02:00

29 lines
1002 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Ruby</title>
<link rel="stylesheet" href="style.css" />
<script type="importmap">
{
"imports": {
"basic-devtools": "../node_modules/basic-devtools/esm/index.js",
"coincident/structured": "../node_modules/coincident/structured.js",
"@ungap/with-resolvers": "../node_modules/@ungap/with-resolvers/index.js"
}
}
</script>
<script type="module" src="../esm/index.js"></script>
</head>
<body>
<script type="rb">
def print_version(event)
puts event[:type]
print "ruby #{ RUBY_VERSION }p#{ RUBY_PATCHLEVEL }"
end
</script>
<button rb-click="print_version(event)">ruby version</button>
</body>
</html>