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 = {
62
62
get VERSIONS ( ) {
63
63
return `${ this . server } /versions` ;
64
64
} ,
65
- SKIKO_MJS ( ) {
66
- return `${ this . composeServer } /api/resource/skiko.mjs` ;
65
+ SKIKO_MJS ( version ) {
66
+ return `${ this . composeServer } /api/resource/skiko- ${ version } .mjs` ;
67
67
} ,
68
- SKIKO_WASM ( ) {
69
- return `${ this . composeServer } /api/resource/skiko.wasm` ;
68
+ SKIKO_WASM ( version ) {
69
+ return `${ this . composeServer } /api/resource/skiko- ${ version } .wasm` ;
70
70
} ,
71
71
get JQUERY ( ) {
72
72
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 {
59
59
const MINIMAL_VERSION_IR = '1.5.0' ;
60
60
const MINIMAL_VERSION_WASM = '1.9.0' ;
61
61
const MINIMAL_VERSION_SWIFT_EXPORT = '2.0.0' ;
62
- const MAX_VERSION_COMPOSE_EXPORT = '2.0.0' ;
63
62
64
63
if (
65
64
platform === TargetPlatforms . JS_IR &&
@@ -90,22 +89,6 @@ export default class WebDemoApi {
90
89
} ) ;
91
90
}
92
91
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
-
109
92
if (
110
93
platform === TargetPlatforms . SWIFT_EXPORT &&
111
94
compilerVersion < MINIMAL_VERSION_SWIFT_EXPORT
You can’t perform that action at this time.
0 commit comments