From d886d7de290b6fee00c55c5487416048f3de4bf2 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 8 Oct 2017 14:57:27 +0900 Subject: move background --- src/actions/tab.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/actions/tab.js (limited to 'src/actions/tab.js') diff --git a/src/actions/tab.js b/src/actions/tab.js deleted file mode 100644 index e512b6f..0000000 --- a/src/actions/tab.js +++ /dev/null @@ -1,9 +0,0 @@ -const openNewTab = (url) => { - return browser.tabs.create({ url: url }); -}; - -const openToTab = (url, tab) => { - return browser.tabs.update(tab.id, { url: url }); -}; - -export { openToTab, openNewTab }; -- cgit v1.2.3