File tree Expand file tree Collapse file tree 3 files changed +33
-34
lines changed Expand file tree Collapse file tree 3 files changed +33
-34
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const EasyCoder_IWSY = {
30
30
}
31
31
break ;
32
32
case `init` :
33
- const cdn = compiler . nextValue ( ) ;
33
+ const cdn = compiler . getNextValue ( ) ;
34
34
compiler . addCommand ( {
35
35
domain : `iwsy` ,
36
36
keyword : `iwsy` ,
@@ -60,16 +60,16 @@ const EasyCoder_IWSY = {
60
60
return true ;
61
61
}
62
62
return false ;
63
- case `path` :
64
- const path = compiler . getNextValue ( ) ;
65
- compiler . addCommand ( {
66
- domain : `iwsy` ,
67
- keyword : `iwsy` ,
68
- lino,
69
- action,
70
- path
71
- } ) ;
72
- return true ;
63
+ // case `path`:
64
+ // const path = compiler.getNextValue();
65
+ // compiler.addCommand({
66
+ // domain: `iwsy`,
67
+ // keyword: `iwsy`,
68
+ // lino,
69
+ // action,
70
+ // path
71
+ // });
72
+ // return true;
73
73
case `script` :
74
74
const script = compiler . getNextValue ( ) ;
75
75
compiler . addCommand ( {
@@ -193,11 +193,11 @@ const EasyCoder_IWSY = {
193
193
}
194
194
program . iwsyFunctions = IWSY ( player , script ) ;
195
195
break ;
196
- case `path` :
197
- if ( program . iwsyFunctions ) {
198
- program . iwsyFunctions . setPath ( program . getValue ( command . path ) ) ;
199
- }
200
- break ;
196
+ // case `path`:
197
+ // if (program.iwsyFunctions) {
198
+ // program.iwsyFunctions.setPath(program.getValue(command.path));
199
+ // }
200
+ // break;
201
201
case `script` :
202
202
script = program . getValue ( command . script ) ;
203
203
try {
Original file line number Diff line number Diff line change @@ -988,7 +988,7 @@ const IWSY = (playerElement, scriptObject) => {
988
988
script . runMode = runMode ;
989
989
doStep ( script . steps [ 1 ] ) ;
990
990
} else {
991
- fetch ( `${ script . path } ${ step . script } ?v=${ Date . now ( ) } ` )
991
+ fetch ( `${ step . path } ${ step . script } ?v=${ Date . now ( ) } ` )
992
992
. then ( response => {
993
993
if ( response . status >= 400 ) {
994
994
throw Error ( `Unable to load ${ step . script } : ${ response . status } ` ) ;
@@ -1267,7 +1267,6 @@ const IWSY = (playerElement, scriptObject) => {
1267
1267
return {
1268
1268
getScript,
1269
1269
setScript,
1270
- setPath,
1271
1270
gotoStep,
1272
1271
block,
1273
1272
run,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const EasyCoder_IWSY = {
30
30
}
31
31
break ;
32
32
case `init` :
33
- const cdn = compiler . nextValue ( ) ;
33
+ const cdn = compiler . getNextValue ( ) ;
34
34
compiler . addCommand ( {
35
35
domain : `iwsy` ,
36
36
keyword : `iwsy` ,
@@ -60,16 +60,16 @@ const EasyCoder_IWSY = {
60
60
return true ;
61
61
}
62
62
return false ;
63
- case `path` :
64
- const path = compiler . getNextValue ( ) ;
65
- compiler . addCommand ( {
66
- domain : `iwsy` ,
67
- keyword : `iwsy` ,
68
- lino,
69
- action,
70
- path
71
- } ) ;
72
- return true ;
63
+ // case `path`:
64
+ // const path = compiler.getNextValue();
65
+ // compiler.addCommand({
66
+ // domain: `iwsy`,
67
+ // keyword: `iwsy`,
68
+ // lino,
69
+ // action,
70
+ // path
71
+ // });
72
+ // return true;
73
73
case `script` :
74
74
const script = compiler . getNextValue ( ) ;
75
75
compiler . addCommand ( {
@@ -193,11 +193,11 @@ const EasyCoder_IWSY = {
193
193
}
194
194
program . iwsyFunctions = IWSY ( player , script ) ;
195
195
break ;
196
- case `path` :
197
- if ( program . iwsyFunctions ) {
198
- program . iwsyFunctions . setPath ( program . getValue ( command . path ) ) ;
199
- }
200
- break ;
196
+ // case `path`:
197
+ // if (program.iwsyFunctions) {
198
+ // program.iwsyFunctions.setPath(program.getValue(command.path));
199
+ // }
200
+ // break;
201
201
case `script` :
202
202
script = program . getValue ( command . script ) ;
203
203
try {
You can’t perform that action at this time.
0 commit comments