Skip to content

Commit b70b20d

Browse files
committed
minor
1 parent d73ba69 commit b70b20d

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎v5-unity/.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules/
2-
bundle*
2+
*.bundle.*
33
# ignore *.png only in this directory
44
/*.png

‎v5-unity/js/opt-live.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// TODO: using myVisualizer here borrowed from opt-frontend-common.js is
66
// very dicey and dangerous due to scoping issues!
77

8+
// TODO: overriding backend_script from opt-frontend-common.js is also dicey, ergh
9+
// so it currently doesn't work for JavaScript
10+
11+
812
// use Webpack to automatically package up these dependencies
913

1014
require('../css/opt-frontend.css');
@@ -569,6 +573,7 @@ function executeCode(forceStartingInstr, forceRawInputLst) {
569573
}
570574

571575
var backend_script = optCommon.langToBackendScript($('#pythonVersionSelector').val());
576+
console.log('backend_script:', backend_script);
572577

573578
var backendOptionsObj = {cumulative_mode: ($('#cumulativeModeSelector').val() == 'true'),
574579
heap_primitives: ($('#heapPrimitivesSelector').val() == 'true'),

‎v5-unity/webpack.config.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = {
2828
entry: {
2929
'opt-frontend': "./js/opt-frontend.js",
3030
'opt-live': "./js/opt-live.js",
31+
'iframe-embed': "./js/iframe-embed.js",
3132
},
3233

3334
output: {

0 commit comments

Comments
 (0)