File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ var Module = {};
97
97
await pyjs . init ( )
98
98
99
99
addToOutput ( "...done" )
100
- interpreter = new pyjs . Interpreter ( )
101
100
main_scope = pyjs . main_scope ( )
102
101
103
102
let btn = document . getElementById ( "run_button" ) ;
@@ -109,7 +108,7 @@ var Module = {};
109
108
localStorage . setItem ( "text" , text )
110
109
111
110
try {
112
- interpreter . exec ( text , main_scope )
111
+ pyjs . exec ( text , main_scope )
113
112
}
114
113
catch ( e ) {
115
114
logeditor . replaceRange ( JSON . stringify ( e . message ) + "\n" , CodeMirror . Pos ( logeditor . lastLine ( ) ) )
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ channels:
3
3
- https://repo.mamba.pm/emscripten-forge
4
4
- conda-forge
5
5
dependencies :
6
- - pyjs == 0.9 .0
6
+ - pyjs == 0.10 .0
7
7
- numpy
You can’t perform that action at this time.
0 commit comments