Skip to content

Commit d25ec02

Browse files
authored
Merge pull request #15 from JerryI/dev
Dev
2 parents d83508f + 17a0451 commit d25ec02

17 files changed

+503
-9939
lines changed

.DS_Store

-2 KB
Binary file not shown.

dist/kernel.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -5819,7 +5819,7 @@ class BlockWidgetView extends ContentView {
58195819
}
58205820
get children() { return noChildren; }
58215821
sync(view) {
5822-
console.error('Sync');
5822+
//console.error('Sync');
58235823
if (!this.dom || !this.widget.updateDOM(this.dom, view)) {
58245824
if (this.dom && this.prevWidget)
58255825
this.prevWidget.destroy(this.dom);
@@ -38656,7 +38656,7 @@ var compactCMEditor$2;
3865638656

3865738657
if (itemDesc) { //stylize the text
3865838658
td.innerHTML = itemDesc[1];
38659-
38659+
td.classList.add('selectable');
3866038660
//throw(itemDesc);
3866138661

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

3866938669
} else {
3867038670
td.innerHTML = text.slice(1,-1);
38671+
td.classList.add('selectable');
3867138672
}
3867238673
}
3867338674

@@ -38943,9 +38944,8 @@ const uuidv4$4 = () => {
3894338944
}
3894438945
}
3894538946
//providing metamarker so that later you can work with it
38946-
interpretate(['MetaMarker', "'" + cuid + "'"], firstInstanceEnv).then(() => {
38947-
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
38948-
});
38947+
interpretate(['FrontInstanceReference', "'" + cuid + "'"], firstInstanceEnv);
38948+
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
3894938949
}
3895038950
});
3895138951

dist/kernel.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/.DS_Store

-6 KB
Binary file not shown.
-6 KB
Binary file not shown.

libs/priceless-mathematica/src/boxes/gridbox.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ import {
157157

158158
if (itemDesc) { //stylize the text
159159
td.innerHTML = itemDesc[1];
160-
160+
td.classList.add('selectable');
161161
//throw(itemDesc);
162162

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

170170
} else {
171171
td.innerHTML = text.slice(1,-1);
172+
td.classList.add('selectable');
172173
}
173174
}
174175

libs/priceless-mathematica/src/boxes/viewbox.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ import {
7979
}
8080
}
8181
//providing metamarker so that later you can work with it
82-
interpretate(['MetaMarker', "'" + cuid + "'"], firstInstanceEnv).then(() => {
83-
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
84-
});
82+
interpretate(['FrontInstanceReference', "'" + cuid + "'"], firstInstanceEnv);
83+
server.kernel.emitt(self.events, '"' + cuid + '"', 'Mounted');
8584
}
8685
});
8786

0 commit comments

Comments
 (0)