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 = {
11111111 eventTarget . targetRecord . index = eventTarget . targetIndex ;
11121112 setTimeout ( function ( ) {
11131113 EasyCoder . timestamp = Date . now ( ) ;
1114- let p = EasyCoder . scripts [ eventTarget . targetRecord . program ]
1114+ let p = EasyCoder . scripts [ eventTarget . targetRecord . program ] ;
11151115 p . run ( eventTarget . targetPc ) ;
11161116 } , 1 ) ;
11171117 }
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ const EasyCoder_Json = {
467467 return {
468468 type : `constant` ,
469469 numeric : true ,
470- content : array . length
470+ content : array ? array . length : 0
471471 } ;
472472 case `keys` :
473473 symbolRecord = program . getSymbolRecord ( value . name ) ;
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ const EasyCoder_Rest = {
140140 if ( command . onError ) {
141141 program . errorMessage = `Exception trapped: ${ error } ` ;
142142 program . run ( command . onError ) ;
143+ program . run ( command . pc + 1 ) ;
143144 } else {
144145 program . runtimeError ( command . lino , `Error: ${ error } ` ) ;
145146 }
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ const EasyCoder_Json = {
467467 return {
468468 type : `constant` ,
469469 numeric : true ,
470- content : array . length
470+ content : array ? array . length : 0
471471 } ;
472472 case `keys` :
473473 symbolRecord = program . getSymbolRecord ( value . name ) ;
Original file line number Diff line number Diff line change 8888 variable FileIsOpen
8989 variable Item
9090 variable Items
91- debug step
9291
9392 load showdown
9493 rest get ECPayload from `/resources/fragment/ec.txt`
113112 load plugin `gmap`
114113 load plugin `svg`
115114
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`
117116 require css `https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/addon/dialog/dialog.css`
118117 require js `https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.46.0/addon/dialog/dialog.js`
119118 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 1313 rest get ECPayload from `/resources/fragment/ec.txt`
1414 rest get Codex from `/resources/fragment/codex.txt`
1515
16+ load showdown
1617 on DecoratorCallback go to Decorate
1718 on message
1819 begin
You can’t perform that action at this time.
0 commit comments