From 4c6a2323d90e9321ec2b78e226167b3013ea69ab Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 29 Jan 2022 00:03:51 +0100 Subject: make Haketilo buildable again (for Mozilla) How cool it is to throw away 5755 lines of code... --- common/broadcast.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'common/broadcast.js') diff --git a/common/broadcast.js b/common/broadcast.js index ce4ac08..4dcac2b 100644 --- a/common/broadcast.js +++ b/common/broadcast.js @@ -41,14 +41,12 @@ * proprietary program, I am not going to enforce this in court. */ -#IMPORT common/connection_types.js AS CONNECTION_TYPE - #FROM common/message_server.js IMPORT connect_to_background function sender_connection() { return { - port: connect_to_background(CONNECTION_TYPE.BROADCAST_SEND) + port: connect_to_background("broadcast_send") }; } #EXPORT sender_connection @@ -94,7 +92,7 @@ function flush(sender_conn) function listener_connection(cb) { const conn = { - port: connect_to_background(CONNECTION_TYPE.BROADCAST_LISTEN) + port: connect_to_background("broadcast_listen") }; conn.port.onMessage.addListener(cb); -- cgit v1.2.3