mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
* [next] WIP: Add basic integrations tests * fix typos in README.md * Update README.md to specify when files are _ files ignored --------- Co-authored-by: Fabio Pliger <fpliger@users.noreply.github.com>
20 lines
479 B
HTML
20 lines
479 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script type="module">
|
|
import { init } from '../utils.js';
|
|
init('ruby-wasm-wasi');
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<script type="ruby-wasm-wasi">
|
|
def show_OK(event)
|
|
event[:target][:textContent] = 'OK'
|
|
end
|
|
</script>
|
|
<button ruby-wasm-wasi-click="show_OK"></button>
|
|
</body>
|
|
</html>
|