Skip to content

Commit

Permalink
Update digitaljs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Feb 11, 2022
1 parent 72d0c79 commit 4840176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion view/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ class DigitalJS {
engine: Engine,
engineOptions: { workerURL: window.simWorkerUri,
signals: opts.keep ? old_states.signals : undefined },
windowCallback: (type, div, close_cb, model) => {
windowCallback: (type, div, close_cb, { model }) => {
let id;
if (type !== "Memory") {
const title = div.attr('title') || `Unknown ${type || 'Subcircuit'}`;
Expand Down

0 comments on commit 4840176

Please sign in to comment.