File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ export const API_URLS = {
6262 get VERSIONS ( ) {
6363 return `${ this . server } /versions` ;
6464 } ,
65- SKIKO_MJS ( ) {
66- return `${ this . composeServer } /api/resource/skiko.mjs` ;
65+ SKIKO_MJS ( version ) {
66+ return `${ this . composeServer } /api/resource/skiko- ${ version } .mjs` ;
6767 } ,
68- SKIKO_WASM ( ) {
69- return `${ this . composeServer } /api/resource/skiko.wasm` ;
68+ SKIKO_WASM ( version ) {
69+ return `${ this . composeServer } /api/resource/skiko- ${ version } .wasm` ;
7070 } ,
7171 get JQUERY ( ) {
7272 return `https://cdn.jsdelivr.net/npm/jquery@1/dist/jquery.min.js` ;
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ export default class WebDemoApi {
5959 const MINIMAL_VERSION_IR = '1.5.0' ;
6060 const MINIMAL_VERSION_WASM = '1.9.0' ;
6161 const MINIMAL_VERSION_SWIFT_EXPORT = '2.0.0' ;
62- const MAX_VERSION_COMPOSE_EXPORT = '2.0.0' ;
6362
6463 if (
6564 platform === TargetPlatforms . JS_IR &&
@@ -90,22 +89,6 @@ export default class WebDemoApi {
9089 } ) ;
9190 }
9291
93- if (
94- platform === TargetPlatforms . COMPOSE_WASM &&
95- compilerVersion >= MAX_VERSION_COMPOSE_EXPORT
96- ) {
97- return Promise . resolve ( {
98- output : '' ,
99- errors : [
100- {
101- severity : 'ERROR' ,
102- message : `${ TargetPlatforms . COMPOSE_WASM . printableName } compiler backend accessible only less ${ MAX_VERSION_COMPOSE_EXPORT } version` ,
103- } ,
104- ] ,
105- jsCode : '' ,
106- } ) ;
107- }
108-
10992 if (
11093 platform === TargetPlatforms . SWIFT_EXPORT &&
11194 compilerVersion < MINIMAL_VERSION_SWIFT_EXPORT
You can’t perform that action at this time.
0 commit comments