Skip to content

Commit

Permalink
Copy the pygal.js file into the pyodide/packages/ directory
Browse files Browse the repository at this point in the history
I think I have finished porting pygal.js from a Skulpt module to a plain
JavaScript ES6 module which is now supported in Pyodide.

More context:
trinketapp/pygal.js#12
  • Loading branch information
tuzz committed Jan 8, 2024
1 parent 4ea15cf commit be4245d
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyodide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<div id="visual" style="width: fit-content;"></div>

<script type="module">
import * as pygal from "../../pygal.js/pygal.js";
import * as pygal from "./packages/pygal.js";

const runButton = document.getElementById("run");
const input = document.getElementById("input");
Expand Down
Loading

0 comments on commit be4245d

Please sign in to comment.