File tree 3 files changed +11
-6
lines changed
components/playgroundEditor 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ export default function LiveCodes({
100
100
script : {
101
101
language : "python-wasm" ,
102
102
content : addTestRunner ( pyCode ) ,
103
+ title : "Python" ,
103
104
} ,
104
105
} ;
105
106
} ;
@@ -124,6 +125,7 @@ export default function LiveCodes({
124
125
script : {
125
126
language : "python-wasm" ,
126
127
content : getPyCode ( jsonCode ) ,
128
+ title : "Python" ,
127
129
} ,
128
130
tools : {
129
131
enabled : [ "console" ] ,
@@ -175,6 +177,7 @@ ${test.replace(pattern, "\n")}`.trimStart();
175
177
language : "lua-wasm" ,
176
178
content,
177
179
hiddenContent : luaTestRunner ,
180
+ title : "Lua" ,
178
181
} ,
179
182
} ;
180
183
} ;
@@ -185,6 +188,7 @@ ${test.replace(pattern, "\n")}`.trimStart();
185
188
script : {
186
189
language : "php-wasm" ,
187
190
content : phpCode ,
191
+ title : "PHP" ,
188
192
} ,
189
193
tools : {
190
194
enabled : [ "console" ] ,
@@ -199,6 +203,7 @@ ${test.replace(pattern, "\n")}`.trimStart();
199
203
script : {
200
204
language : "cpp-wasm" ,
201
205
content : cCode ,
206
+ title : "C" ,
202
207
} ,
203
208
} ) ;
204
209
@@ -223,7 +228,7 @@ ${test.replace(pattern, "\n")}`.trimStart();
223
228
224
229
return (
225
230
< LiveCodesPlayground
226
- appUrl = "https://v19 .livecodes.io/"
231
+ appUrl = "https://v34 .livecodes.io/"
227
232
loading = "eager"
228
233
config = { config }
229
234
style = { { borderRadius : "0" , resize : "none" } }
Original file line number Diff line number Diff line change 35
35
"highlight.js" : " ^11.5.1" ,
36
36
"iframe-resizer-react" : " ^1.1.0" ,
37
37
"katex" : " ^0.13.24" ,
38
- "livecodes" : " 0.3 .0" ,
38
+ "livecodes" : " 0.6 .0" ,
39
39
"marked" : " ^4.0.17" ,
40
40
"next" : " ^12.1.0" ,
41
41
"next-i18next" : " ^8.10.0" ,
Original file line number Diff line number Diff line change @@ -2996,10 +2996,10 @@ levn@~0.3.0:
2996
2996
prelude-ls "~1.1.2"
2997
2997
type-check "~0.3.2"
2998
2998
2999
- livecodes@0.3 .0 :
3000
- version "0.3 .0"
3001
- resolved "https://registry.yarnpkg.com/livecodes/-/livecodes-0.3 .0.tgz#95523234f25ecbf338de3e58d4a8e6c0fc05350f "
3002
- integrity sha512-bRD9TbWCEDAXfXIzqSSgTmlwHZtMjyrqg4uwULPwIdq8ozaFRVZnIEugvNh8PivpkryWN8OgfVknsNukMov43w ==
2999
+ livecodes@0.6 .0 :
3000
+ version "0.6 .0"
3001
+ resolved "https://registry.yarnpkg.com/livecodes/-/livecodes-0.6 .0.tgz#3ad0d4361f6615cea62b8d40acfa33a892d1542f "
3002
+ integrity sha512-nUqS6yy3NAKhVw+wt6yLKiqKSNbpbaJddI+KgtpMeQuIclBZbvhXK/enF8w/vQfxODPf5tmXkq765DIDxwTLTA ==
3003
3003
3004
3004
locate-path@^2.0.0 :
3005
3005
version "2.0.0"
You can’t perform that action at this time.
0 commit comments