Rename WebSocketService sendJSON() -> send()

This commit is contained in:
Kristóf Tóth
2019-08-15 21:24:54 +02:00
parent 614019fbff
commit 24c994c41e
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -183,7 +183,7 @@ export class IdeComponent implements OnInit {
}
sendCodeContents() {
this.webSocketService.sendJSON({
this.webSocketService.send({
'key': 'ide.write',
'filename': this.filename,
'content': this.code
@@ -191,7 +191,7 @@ export class IdeComponent implements OnInit {
}
requestCode() {
this.webSocketService.sendJSON({
this.webSocketService.send({
'key': 'ide.read',
'filename': this.filename
});