mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
Fix typo in passing-objects.md (#856)
Fixes typo in HTML example: `do-mmath` -> `do-math`
This commit is contained in:
@@ -88,7 +88,7 @@ This will make all Python global variables available in JavaScript with `pyodide
|
|||||||
```
|
```
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<input type="button" value="Log Python Variables" id="do-mmath">
|
<input type="button" value="Log Python Variables" id="do-math">
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("do-math").addEventListener("click", () => {
|
document.getElementById("do-math").addEventListener("click", () => {
|
||||||
const exp = pyodideGlobals.get('rough_exponential');
|
const exp = pyodideGlobals.get('rough_exponential');
|
||||||
|
|||||||
Reference in New Issue
Block a user