Skip to content

Commit

Permalink
fix: jump back fixed, now will in fact go back to the previous state
Browse files Browse the repository at this point in the history
  • Loading branch information
delanni committed May 5, 2024
1 parent 301346f commit aa99047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bundle.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -47428,6 +47428,7 @@

repl.eval(code, (string, err) => {
editor.flashCode()
editor.setValue(code);
if (!err) sketches.saveLocally(code)
})
});
Expand All @@ -47437,9 +47438,9 @@
if (!code) return;
const editor = state.editor.editor

editor.setValue(code);
repl.eval(code, (string, err) => {
editor.flashCode()
editor.setValue(code);
if (!err) sketches.saveLocally(code)
})
});
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="twitter:description" content="live coding networked visuals in the browser">
<meta name="twitter:image" content="https://cdn.glitch.com/9c3a06ab-0731-42ca-a1a3-3a249825d08f%2FScreen%20Shot%202018-06-24%20at%204.47.49%20PM.png?1531889983803">
<meta name="twitter:card" content="summary_large_image">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js" defer></script>
<script src="./p5.min.js" defer></script>
<script src="./bundle.min.js" defer></script>
<script src="./hydrakit.js" defer></script>
<script>
Expand Down

0 comments on commit aa99047

Please sign in to comment.