Use standard 'postMessage' name

This commit is contained in:
Matt Bierner
2018-04-17 16:22:44 -07:00
parent fbd3a08369
commit cdd9a731f9
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ export class ExtHostWebview implements vscode.Webview {
public postMessage(message: any): Thenable<boolean> {
this.assertNotDisposed();
return this._proxy.$sendMessage(this._handle, message);
return this._proxy.$postMessage(this._handle, message);
}
public reveal(viewColumn: vscode.ViewColumn): void {
@@ -173,7 +173,7 @@ export class ExtHostWebviewPanel implements vscode.WebviewPanel {
public postMessage(message: any): Thenable<boolean> {
this.assertNotDisposed();
return this._proxy.$sendMessage(this._handle, message);
return this._proxy.$postMessage(this._handle, message);
}
public reveal(viewColumn: vscode.ViewColumn): void {