From 261548ff184926567a623e90df7954aeef842d59 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 30 Jun 2021 12:28:05 +0200 Subject: emply an sh-based build system; make some changes to blocking --- common/connection_types.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'common/connection_types.js') diff --git a/common/connection_types.js b/common/connection_types.js index cc3c976..e227532 100644 --- a/common/connection_types.js +++ b/common/connection_types.js @@ -5,18 +5,18 @@ * Redistribution terms are gathered in the `copyright' file. */ -"use strict"; - /* * Those need to be strings so they can be used as 'name' parameter * to browser.runtime.connect() */ -(() => { - const CONNECTION_TYPE = { - REMOTE_STORAGE : "0", - PAGE_ACTIONS : "1" - }; +const CONNECTION_TYPE = { + REMOTE_STORAGE : "0", + PAGE_ACTIONS : "1" +}; - window.CONNECTION_TYPE = CONNECTION_TYPE; -})(); +/* + * EXPORTS_START + * EXPORT CONNECTION_TYPE + * EXPORTS_END + */ -- cgit v1.2.3