Skip to content

Commit

Permalink
Merge pull request #15 from JerryI/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
JerryI authored Dec 5, 2024
2 parents d83508f + 17a0451 commit d25ec02
Show file tree
Hide file tree
Showing 17 changed files with 503 additions and 9,939 deletions.
Binary file modified .DS_Store
Binary file not shown.
10 changes: 5 additions & 5 deletions dist/kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5819,7 +5819,7 @@ class BlockWidgetView extends ContentView {
}
get children() { return noChildren; }
sync(view) {
console.error('Sync');
//console.error('Sync');
if (!this.dom || !this.widget.updateDOM(this.dom, view)) {
if (this.dom && this.prevWidget)
this.prevWidget.destroy(this.dom);
Expand Down Expand Up @@ -38656,7 +38656,7 @@ var compactCMEditor$2;

if (itemDesc) { //stylize the text
td.innerHTML = itemDesc[1];

td.classList.add('selectable');
//throw(itemDesc);

const decoded = Mma.DecompressDecode(itemDesc[2]);
Expand All @@ -38668,6 +38668,7 @@ var compactCMEditor$2;

} else {
td.innerHTML = text.slice(1,-1);
td.classList.add('selectable');
}
}

Expand Down Expand Up @@ -38943,9 +38944,8 @@ const uuidv4$4 = () => {
}
}
//providing metamarker so that later you can work with it
interpretate(['MetaMarker', "'" + cuid + "'"], firstInstanceEnv).then(() => {
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
});
interpretate(['FrontInstanceReference', "'" + cuid + "'"], firstInstanceEnv);
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
}
});

Expand Down
2 changes: 1 addition & 1 deletion dist/kernel.min.js

Large diffs are not rendered by default.

Binary file removed libs/.DS_Store
Binary file not shown.
Binary file removed libs/priceless-mathematica/src/.DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion libs/priceless-mathematica/src/boxes/gridbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import {

if (itemDesc) { //stylize the text
td.innerHTML = itemDesc[1];

td.classList.add('selectable');
//throw(itemDesc);

const decoded = Mma.DecompressDecode(itemDesc[2]);
Expand All @@ -169,6 +169,7 @@ import {

} else {
td.innerHTML = text.slice(1,-1);
td.classList.add('selectable');
}
}

Expand Down
5 changes: 2 additions & 3 deletions libs/priceless-mathematica/src/boxes/viewbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ import {
}
}
//providing metamarker so that later you can work with it
interpretate(['MetaMarker', "'" + cuid + "'"], firstInstanceEnv).then(() => {
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
});
interpretate(['FrontInstanceReference', "'" + cuid + "'"], firstInstanceEnv);
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
}
});

Expand Down
Loading

0 comments on commit d25ec02

Please sign in to comment.