File tree Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1111,7 +1111,7 @@ const EasyCoder_Browser = {
1111
1111
eventTarget . targetRecord . index = eventTarget . targetIndex ;
1112
1112
setTimeout ( function ( ) {
1113
1113
EasyCoder . timestamp = Date . now ( ) ;
1114
- let p = EasyCoder . scripts [ eventTarget . targetRecord . program ]
1114
+ let p = EasyCoder . scripts [ eventTarget . targetRecord . program ] ;
1115
1115
p . run ( eventTarget . targetPc ) ;
1116
1116
} , 1 ) ;
1117
1117
}
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ const EasyCoder_Json = {
467
467
return {
468
468
type : `constant` ,
469
469
numeric : true ,
470
- content : array . length
470
+ content : array ? array . length : 0
471
471
} ;
472
472
case `keys` :
473
473
symbolRecord = program . getSymbolRecord ( value . name ) ;
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ const EasyCoder_Rest = {
140
140
if ( command . onError ) {
141
141
program . errorMessage = `Exception trapped: ${ error } ` ;
142
142
program . run ( command . onError ) ;
143
+ program . run ( command . pc + 1 ) ;
143
144
} else {
144
145
program . runtimeError ( command . lino , `Error: ${ error } ` ) ;
145
146
}
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ const EasyCoder_Json = {
467
467
return {
468
468
type : `constant` ,
469
469
numeric : true ,
470
- content : array . length
470
+ content : array ? array . length : 0
471
471
} ;
472
472
case `keys` :
473
473
symbolRecord = program . getSymbolRecord ( value . name ) ;
Original file line number Diff line number Diff line change 88
88
variable FileIsOpen
89
89
variable Item
90
90
variable Items
91
- debug step
92
91
93
92
load showdown
94
93
rest get ECPayload from `/resources/fragment/ec.txt`
113
112
load plugin `gmap`
114
113
load plugin `svg`
115
114
116
- codemirror init basic profile `https://`cat the hostname cat `/easycoder/plugins/codemirror-ecs.js`
115
+ codemirror init basic profile `https://` cat the hostname cat `/easycoder/plugins/codemirror-ecs.js`
117
116
require css `https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/addon/dialog/dialog.css`
118
117
require js `https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/addon/dialog/dialog.js`
119
118
require js `https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/addon/search/search.js`
Original file line number Diff line number Diff line change 13
13
rest get ECPayload from `/resources/fragment/ec.txt`
14
14
rest get Codex from `/resources/fragment/codex.txt`
15
15
16
+ load showdown
16
17
on DecoratorCallback go to Decorate
17
18
on message
18
19
begin
You can’t perform that action at this time.
0 commit comments