This repository was archived by the owner on May 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ export class DidactPanel {
370370 if ( ! this . _panel ) {
371371 return ;
372372 }
373+ console . log ( 'will post message from postMessage ' + message ) ;
373374 const jsonMsg :string = "{ \"command\": \"sendMessage\", \"data\": \"" + message + "\"}" ;
374375 this . _panel . webview . postMessage ( jsonMsg ) ;
375376 }
@@ -378,6 +379,7 @@ export class DidactPanel {
378379 if ( ! this . _panel ) {
379380 return ;
380381 }
382+ console . log ( 'will post message from postRequirementsResponseMessage ' ) ;
381383 const jsonMsg :string = "{ \"command\": \"requirementCheck\", \"requirementName\": \"" + requirementName + "\", \"result\": \"" + result + "\"}" ;
382384 this . _panel . webview . postMessage ( jsonMsg ) ;
383385 await this . sendSetStateMessage ( ) ;
@@ -388,6 +390,7 @@ export class DidactPanel {
388390 return ;
389391 }
390392 const jsonMsg = `{ "command" : "${ msg } "}` ;
393+ console . log ( 'will post message from postNamedSimpleMessage ' + msg ) ;
391394 this . _panel . webview . postMessage ( jsonMsg ) ;
392395 }
393396
@@ -416,6 +419,7 @@ export class DidactPanel {
416419 if ( ! this . _panel || this . _disposed ) {
417420 return ;
418421 }
422+ console . log ( 'will post mess age from sendScrollToHeadingMessage' ) ;
419423 const jsonMsg = `{ "command": "scrollToHeading", "tag" : "${ tag } ", "headingText" : "${ headingText } " }` ;
420424 await this . _panel . webview . postMessage ( jsonMsg ) ;
421425 }
You can’t perform that action at this time.
0 commit comments