Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
berinhard committed Oct 19, 2021
1 parent bf19d2a commit cfcaa03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyp5js/templates/pyodide/target_sketch.js.template
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ async function main() {
print(sys.version)
`));
window.runSketchCode = (code) => {
userCode = code;
let userCode = code;
runCode();
}

Expand Down
1 change: 1 addition & 0 deletions pyp5js/templates/transcrypt/target_sketch.py.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ windowResized = None
{{ sketch_content }}


# TODO deprecate event_functions dict
event_functions = {
"deviceMoved": deviceMoved,
"deviceTurned": deviceTurned,
Expand Down

0 comments on commit cfcaa03

Please sign in to comment.